Hi Eli, This is quite an intriguing idea.
Eli Zaretskii wrote: > [...] > a w32/include/unistd.h that will hold > prototypes of functions that on Posix platforms are expected to be > found in unistd.h. Examples include chdir, getcwd, dup2, getpid. The underlying functionality is different in win32. The examples you put are typical cases where one wanders if it is not better to use native functions... Of course, porting from Unix platforms has always been taken into consideration, in DOS before and in win32 after. However, there is no win32 unistd.h, except for various projects that had a "win32/unistd.h" (can google that string) where they used to put just a few missing bits, e.g. define S_ISREG or declare usleep(). Hmmm... _______________________________________________ Make-w32 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/make-w32
