Date: Tue, 30 May 2000 12:16:55 +0200 (MET DST) From: Gisle Vanem To: djgpp AT delorie DOT com Subject: mkdir and /dev/env/ Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com I am having troubles with mkdir() and and paths containing the "/dev/env/FOO" syntax. With "set 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.