millert
605c5586ca
Adapt things to use __type_t instead of _BSD_TYPE_T_
Add new sys/_types.h header
Include machine/_types.h or sys/_types.h where applicable
19 years ago
millert
5acf200b2a
First step in include files overhaul. Use __FOO_VISIBLE (as defined
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace
pollution issues, including the byte order defines. OK deraadt@
19 years ago
avsm
3f2bee58c7
add __bounded__ attributes for userland headers; enabled with -Wbounded
ok deraadt@
21 years ago
avsm
b75b1238ee
backout the __bounded__ attributes for a while; requested by deraadt@
21 years ago
avsm
3ab653a0d9
Mark various standard library functions with the __bounded__ attribute.
You must have an up-to-date gcc for this!
deraadt@ ok
21 years ago
millert
cc6797b16c
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.
21 years ago
millert
9a61bb23a6
NULL is now 0L so it is the same size as a pointer.
OK mickey@ and discussed with deraadt@
22 years ago
millert
b68c09e067
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
23 years ago
millert
1b96aaa5ef
Move nanosleep() proto to from sys/time.h to time.h where it belongs.
Problem noted by Jean-Baptiste Marchand
24 years ago
millert
6df46d482b
Prototype timelocal(), timegm(), and timeoff() in the non-ANSI, non-POSIX
section.
24 years ago
espie
f851e80d96
Be thorough about NULL as __null for C++.
25 years ago
espie
de172e7c0c
Define NULL to be __null for C++: better quality of implementation.
__null is a magic constant of integral type that converts to a null pointer
as should be, but warns for ambiguity when used to resolved an overload
between an integral type and a pointer type.
25 years ago
aaron
976f423820
use UTC when abbreviating Coordinated Universal Time, not CUT
25 years ago
pjanzen
c830d1f32b
Daylight Saving Time, not savings
26 years ago
d
31570910f0
Add thread-safety to libc, so that libc_r will build (on i386 at least).
All POSIX libc api now there (to P1003.1c/D10)
(more md stuff is needed for other libc/arch/*)
(setlogin is no longer a special syscall)
Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS).
Doc some re-entrant routines
Add libc_r to intro(3)
dig() uses some libc srcs and an extra -I was needed there.
Add more md stuff to libc_r.
Update includes for the pthreads api
Update libc_r TODO
26 years ago
deraadt
618b9d66d5
strptime() proto; Andreas.Gunnarsson@emw.ericsson.se
27 years ago
niklas
2a0bf72166
Well, as we are heading for a release people are encouraged to rebuild their
entire trees for testing anyway, I might as well do this intrusive touching
of include files now. Added openBSD tags.
27 years ago
deraadt
47b73ff83c
initial import of NetBSD tree
29 years ago