delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/03/02:09:45

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200101030709.IAA01523@father.ludd.luth.se>
Subject: Nitpicking: open docs and "for mode definitions"
To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
Date: Wed, 3 Jan 2001 08:09:35 +0100 (MET)
X-Mailer: ELM [version 2.4ME+ PL54 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

In the libc manual for open() there's this piece:
"	#include <fcntl.h>
	#include <sys/stat.h> /* for mode definitions */"

Now it seems the mode definitions are in fcntl.h and not in
sys/stat.h. Does it matter?


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019