delorie.com/archives/browse.cgi | search |
Message-ID: | <004c01bfca1b$5156bd30$293f8589@gv015029.bgo.nera.no> |
From: | "Gisle Vanem" <gvanem AT eunet DOT no> |
To: | "djgpp" <djgpp AT delorie DOT com> |
Subject: | mkdir and /dev/env |
Date: | Tue, 30 May 2000 11:42:04 +0200 |
MIME-Version: | 1.0 |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |