[PATCH] add <sys/dir.h>

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Wed Aug 11 14:23:00 GMT 2010


The predecessor of POSIX.1 <dirent.h> and struct dirent was 4.2 BSD's
<sys/dir.h> and struct direct[1].  glibc[2] and the BSDs[3][4][5] still
provide the old-style header for compatibility.

Patch attached.


Yaakov
Cygwin/X

[1] http://www.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html
[2] http://sourceware.org/git/?p=glibc.git;a=blob;f=misc/sys/dir.h
[3] http://svn.freebsd.org/viewvc/base/head/sys/sys/dir.h?view=markup
[4] http://www.openbsd.org/cgi-bin/cvsweb/src/sys/sys/dir.h
[5] http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/dir.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib-sys_dir.h.patch
Type: text/x-patch
Size: 470 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20100811/9b3c07c8/attachment.bin>


More information about the Newlib mailing list