History log of /netbsd-src/lib/libc/stdlib/twalk.c (Results 1 – 4 of 4)
Revision Date Author Comments
# 44551472 20-Mar-2012 matt <matt@NetBSD.org>

Remove use of __P
Switch to using C89 definitions.


# 67d513dd 18-May-2011 dsl <dsl@NetBSD.org>

Remove __P()


# b48252f3 16-Sep-1999 lukem <lukem@NetBSD.org>

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attemp

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif

show more ...


# 7975455d 22-Feb-1999 christos <christos@NetBSD.org>

t{search,find,walk,delete} from OpenBSD via Neil A. Carson