Commit Graph

17 Commits

Author SHA1 Message Date
mrg
dd28a6c6dd make scandir(3)'s 3rd argument take a function that takes a *const*
struct dirent *, rather than non-const.  this makes scandir(3) the
same as the scandir implementations in libiberty and glibc, and the
select function has no need to modify the dirent.
2000-04-16 14:43:56 +00:00
kleink
6f29805ef3 Move <null.h> to <sys/null.h> for the purpose of avoiding conflicts due to
std C headers including it, and a kernel module written in C++ would benfit
as well.
2000-01-10 16:58:36 +00:00
kleink
c07f17e8d9 For the benefit of G++'s null pointer constant implementation, #define NULL
as __null with egcs 1.0 (GCC 2.90) and above.  As several headers are affected
by this change, move the definition into a new header file, <null.h>, to ease
maintenance.
1999-12-22 21:26:15 +00:00
kleink
4881197c08 Reorganize name space protection. 1998-05-06 19:05:51 +00:00
fvdl
3ff9b61488 oops. Checked in wrong dirent.h version. Add missing getdents prototype
to this one.
1997-10-10 13:18:37 +00:00
fvdl
0df652060b Correct comment: getdirentries() -> getdents() 1997-10-10 02:21:02 +00:00
christos
1ed010cf0a Added missing __seekdir prototype 1997-07-13 18:01:06 +00:00
jtc
955f6c4af4 Changed to unconditionally include <sys/types.h> as required by X/Open XPG4.2. 1995-12-05 03:09:19 +00:00
jtc
362f2aad7d KERNEL -> _KERNEL 1995-03-26 20:13:37 +00:00
mycroft
1fc62d2108 Sync with CSRG. 1994-12-28 02:43:00 +00:00
cgd
4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
mycroft
587fd4ce2b Update to 4.4-Lite version. 1994-08-29 18:11:08 +00:00
jtc
dd9637d671 Struct dirent definition moved to <sys/dirent.h>. 1993-12-15 00:50:19 +00:00
jtc
7b954b21d9 Expand "u_long" & "u_short" to "unsigned long" and "unsigned short".
Some programs (like NSCA httpd) include <dirent.h> without first including
<sys/types.h> so the u_foo types aren't declared.  I don't think POSIX.1
allows us to include <sys/types.h> in <dirent.h> either.
1993-12-10 19:16:09 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
proven
4c3f702788 Removed bugs and memory leaks from the directory functions. 1993-06-04 17:00:03 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00