kleink
048353ddfd
* Bring *_unlocked() declarations in scope if _REENTRANT is defined, too; add
...
similar protection for the definitions of the macro versions.
* Don't define a macro version of fileno() in a _REENTRANT environment.
1998-11-20 14:39:38 +00:00
kleink
cc46a13dac
Move 1003.1c-1995 declarations inside the appropriate name space protection
...
wrapper, and make sure we won't use these decl's as such with C++ linkage(!).
Also, make _XOPEN_SOURCE protection of popen()/pclose() decl's a bit more
restrictive.
1998-09-28 17:47:58 +00:00
tv
9f9b9c1b0a
Use __format__, __printf__ for consistency
1998-08-28 22:55:50 +00:00
perry
253ef37df2
add asprintf and vasprintf, originally written by Todd Miller for OpenBSD
1998-08-28 21:33:10 +00:00
mycroft
f886615650
__Namespace__ __protection__.
1998-07-30 00:44:15 +00:00
mycroft
ef9e0500ba
Nuke tmpnam() as well.
1998-07-27 13:35:00 +00:00
mycroft
ab22ce8def
If __AUDIT__ is defined, remove some traditional interfaces: gets, sprintf,
...
vsprintf, tempnam, mktemp, getwd.
1998-07-27 09:58:49 +00:00
drochner
2d422e9c9e
add missing backslash
1998-05-11 15:49:15 +00:00
kleink
ff08122ed4
Reorganize name space protection.
1998-05-11 12:00:27 +00:00
kleink
5d431855e2
If standards-compliance is requested by defining the preprocessor symbols
...
_POSIX_SOURCE or _XOPEN_SOURCE at compile time, use __RENAME() to call
__posix_rename() instead of rename() in order to remove the requirement of
linking against libposix.
1998-02-14 20:33:21 +00:00
perry
b7b7322c68
merge lite-2
1998-02-02 21:07:13 +00:00
jtc
397b763df8
Added function declarations for flockfile(), ftrylockfile(), funlockfile(),
...
getc_unlocked(), getchar_unlocked(), putc_unlocked(), & putchar_unlocked().
Added macro definitions for the latter four functions.
Changed so that getc(), putc(), clearerr(), feof() and ferror() macros
are not defined if _REENTRANT is defined so that thread-safe function
versions will be used instead.
1998-01-19 07:35:06 +00:00
jtc
07ebdf3729
Fix typo, __STRICT_ANSI_ -> __STRICT_ANSI__
1996-04-25 18:29:21 +00:00
jtc
35cb421bc0
Removed declarations for sys_nerr & sys_errlist (moved to errno.h)
1996-01-20 01:36:30 +00:00
jtc
2ef4abe78f
change second arg of fgets() from size_t to int
1995-03-25 02:50:04 +00:00
jtc
4255068068
Removed const qualifier from ftell's FILE * argument. It's not ANSI,
...
and the recent change to flush output causes it to be changed.
1995-03-22 18:17:24 +00:00
cgd
4d2cbfce0a
new RCS ID format.
1994-10-26 00:55:40 +00:00
cgd
26fc33ba8d
_VA_LIST_ -> _BSD_VA_LIST_
1994-05-22 23:14:07 +00:00
cgd
2922de7461
add _BSD's to ansi types
1994-05-21 09:41:59 +00:00
cgd
754311881f
fpos_t is now a 64-bit quantity
1994-04-03 01:26:42 +00:00
cgd
d543667048
rename fgetline() and sharpen axe for bostic...
1994-01-04 05:14:14 +00:00
mycroft
e14697d8f2
Add `const's to sys_errlist decl to match 4.4.
1993-12-02 04:45:32 +00:00
jtc
d3c28f5857
Use GCC's format attribute (for bug detection with -Wformat).
1993-12-01 23:59:27 +00:00
jtc
9a6746f2ce
Restore define for L_cuserid and add cuserid prototype.
...
It was provided, but not documented.
1993-10-11 18:01:45 +00:00
jtc
6212a186a0
cuserid() was removed by 1990's revision of 1003.1, and we never provided it
...
so don't define the L_cuserid constant.
1993-10-06 18:41:55 +00:00
jtc
75e26868bb
fread and fwrite both return size_t, not int.
1993-10-04 18:50:23 +00:00
cgd
4e3d39b234
sscanf takes a const char * as the first arg; the man page was (already)
...
correct.
1993-10-04 04:49:17 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
sef
7e852bb789
`inline' is not present in gcc when -ansi is given; use __inline instead.
1993-04-17 02:13:22 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00