summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/readdir.c
Commit message (Collapse)AuthorAgeFilesLines
* #include <string.h> for memcpy() prototypekris2000-06-031-0/+1
| | | | Obtained from: OpenBSD
* style fixes, remove extra braces.alfred1999-11-291-17/+20
| | | | | | | | | | | | 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
* Provide a man page for Alfreds lovely readdir_r function. Alsowes1999-11-291-5/+8
| | | | | fixed a minor indentation nit and added a few {}s to make readdir_r easier on old eyes.
* add pthread_cancel, obtained from OpenBSD.alfred1999-11-281-0/+44
| | | | | | | | | | | | | | 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
* Fix a bogus cast for a bogus pointer check. This only checks if thejb1998-02-201-1/+1
| | | | | pointer is 4-byte aligned. On a 64-bit machine it probably should check that the pointer is 8-byte aligned (eh, Bruce?) 8-)
* Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branchpeter1997-03-111-9/+12
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+72
OpenPOWER on IntegriCloud