Sheesh, just looked at this old post, somebody musta defecated
in his scrambled eggs that morning...
Walter Roberson said:
POSIX is included in the C compilers for "many different types of
systems"?? Would I be likely to recognize the names of any of
those systems??
Sure. Think "Evil Empire"...
POSIX is the "Portable Operating System Interface". A C compiler
does not implement operating system interfaces: to do so would
take them out of the realm of being *operating system* interfaces
into the realm of being *application* entities.
Come on, you know what I meant, that either totally-conforming or
"POSIX-like" C function calls are included in some C compilers. Mine
does, but I dare not breathe the name of the "system" for fear that
Lord Gater will use his mind to choke me...
Sometimes C compilers bundle in, as extensions, header files useful
with POSIX -- but the operating system behaviours are left to
the operating system to implement, not delivered by the C compiler.
Hmmmmm, "header files", hmmmmm...all I know is that I can call
a function that does what the OP wanted to do (of course, what the OP
wanted to do is always forgotten in these "discussions") in my compiler,
because it includes a bunch of functions that have either identical
or similar signatures and usage as are specified by POSIX...
Are you aware of the following, Bill?
http://support.microsoft.com/kb/308259
POSIX and OS/2 are not supported in Windows XP or in Windows Server 2003
OMG!!! Who woulda thunk it!!?!!!
The truly hilarious thing is that if "Windows" "supported" POSIX, then
it could be legally called "Unix"!!!! And even more hilariously, "Windows"
may be more POSIX compliant than "Linux"!!!!
Overview
Utilities and SDK for UNIX-Based Applications is an add-on to the
Subsystem for UNIX-Based Applications (referred to as SUA, hence
forth) component that shipped in Microsoft Windows Vista /
Windows Server 2008 RTM. [...]
System Requirements
* Supported Operating Systems: Windows Server 2008; Windows
Vista Enterprise; Windows Vista Enterprise 64-bit edition;
Windows Vista Service Pack 1; Windows Vista Ultimate; Windows
Vista Ultimate 64-bit edition
If it was just a matter of having the right C compiler, then why
the restrictions on the supported editions? Why no support for
Vista Starter, Vista Home, Vista Home Premium, or Vista Business ?
It must be some sort of illegal monopolistic strategy, of course.
Look, you're just being argumentative for no apparent reason.
If you want to make a directory in a C program, you're gonna have
to use an "extension" of some sort. As has been discussed to
death, I think it might behoove you to use an extension that
conforms to POSIX as much as possible, for the sake of the
sacred "portability" at the source level, but if you want to use
direct calls to a system designed by the guy who killed Obi
Wan-Kenobi to each his own...