summaryrefslogtreecommitdiffstats
path: root/include/dirent.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix namespace issues by using the relatively new visibilitymike2002-09-101-17/+30
| | | | primitives.
* style(9): line up function names.mike2002-09-091-13/+14
|
* Breath deep and take __P out of the system include files.imp2002-03-231-13/+13
| | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
* Add a lock to DIR to make telldir and friends MT-safe.deischen2001-01-241-0/+1
| | | | | | | Clean up stdio.h a bit and remove _THREAD_SAFE. Some of the usual macros getc, putc, getchar, putchar are no longer macros. Approved by: -arch
* Move telldir position recording type definitions and prototypesdeischen2000-12-111-4/+2
| | | | | | | to "telldir.h" in order to prevent namespace pollution in <dirent.h> (which was including <sys/queue.h>). Add $FreeBSD$ to rewinddir.c and seekdir.c.
* Add a LIST_HEAD to DIR for a queue of telldir positions.deischen2000-12-061-1/+6
| | | | | Also add a location count (used as the magic for telldir) to DIR. A future change will also add a mutex/lock.
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-2/+2
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* Fixed missing declaration of getdents(2).bde1999-12-231-0/+1
|
* style fixes, remove extra braces.alfred1999-11-291-3/+1
| | | | | | | | | | | | readdir_r is not POSIX according to POSIX_SOURCE, bruce says: > readdir_r() is in the _POSIX_SOURCE section, but is not a POSIX.1-1990 > function. It's POSIX.1-1996 so it should be under a different feature > test which we don't support yet. make sure errno is saved so that its contents are cleared unless necessary. Submitted by: bde
* add pthread_cancel, obtained from OpenBSD.alfred1999-11-281-0/+4
| | | | | | | | | | | | | | eischen (Daniel Eischen) added wrappers to protect against cancled threads orphaning internal resources. the cancelability code is still a bit fuzzy but works for test programs of my own, OpenBSD's and some examples from ORA's books. add readdir_r to both libc and libc_r add some 'const' attributes to function parameters Reviewed by: eischen, jasone
* Merge Lite2 changes onto mainline:peter1997-03-111-1/+9
| | | | | - declare opendir2(), which is used to control how readdir() handles whiteouts etc.
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* BSD 4.4 Lite Include Sourcesrgrimes1994-05-241-0/+94
OpenPOWER on IntegriCloud