Message-ID: <004c01bfca1b$5156bd30$293f8589@gv015029.bgo.nera.no> From: "Gisle Vanem" To: "djgpp" Subject: mkdir and /dev/env Date: Tue, 30 May 2000 11:42:04 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com I am having troubles with mkdir() and and paths containing the "/dev/env/FOO" syntax. With "$YAFC=\yafc", this code fails: if (mkdir ("/dev/env/YAFC", S_IRUSR|S_IWUSR|S_IXUSR) != 0) perror(""); The mode is '0400 | 0200 | 0100' = 0700 (octal) Is that supposed to work? Gisle V.