freebsd-skq/include
Warner Losh 94ad719cf4 Add reallocf to the library. This function is simliar to realloc, but
when it returns NULL to indicate failure, it will also free the memory
that was passed to it, if that was non-null.

This does not change the semantics of realloc.

A second commit will be done to commit the conversion of those places in
the code that can safely use this to avoid memory leaks when confronted
with low memory situations.

Beaten-to-death-but-finally-approved-in: -current
1998-09-14 20:34:34 +00:00
..
arpa Update nameserver interface to bind-8.1.2 levels. We do not use IRS (yet?) 1998-06-11 08:55:17 +00:00
protocols Translated to `C' - commented out #ident. 1998-01-16 10:31:46 +00:00
rpc Add support for the RPC 64-bit integer type ``hyper''. 1998-09-08 17:33:12 +00:00
rpcsvc Fix tons of cut-n-paste errors in the WANT_NFS3 code. 1998-09-06 09:21:35 +00:00
_ctype.h Oops, fix typo in istype definition 1997-09-27 04:30:50 +00:00
a.out.h Woops, include machine/exec.h, too. 1994-09-24 21:49:20 +00:00
ar.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
assert.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
bitstring.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
ctype.h Oops, fix typo in istype definition 1997-09-27 04:30:50 +00:00
db.h Fix conflicts and merge into mainline (this may get cvs admined out and redone properly by Peter later) 1996-02-27 19:42:44 +00:00
dirent.h Merge Lite2 changes onto mainline: 1997-03-11 11:15:46 +00:00
disktab.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
dlfcn.h Replace bogus "@(#)err.h 8.1 (Berkeley) 6/2/93" with RCS Id keyword. 1998-02-11 05:19:10 +00:00
elf-hints.h Add hints file structures and defines. 1998-09-05 00:53:53 +00:00
elf.h Add hints file structures and defines. 1998-09-05 00:53:53 +00:00
err.h A small last-minute iitem for 3.0: 1998-09-12 21:02:22 +00:00
fnmatch.h Removed _POSIX_SOURCE ifdefs. This is not a POSIX.1 header. 1998-02-25 02:15:59 +00:00
fstab.h Change to comment for fs_passno to reflect that it applies 1997-01-28 06:11:45 +00:00
fts.h Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
glob.h Removed _POSIX_SOURCE ifdefs. This is not a POSIX.1 header. 1998-02-25 02:15:59 +00:00
grp.h Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
histedit.h Update histedit.h to match the new libedit. 1997-06-25 09:47:31 +00:00
iso646.h Fixed garbage after comment after #endif. Fixed reversed sense of same 1998-08-03 10:59:02 +00:00
kvm.h Comment out declaration of kvm_uread until it can be fixed correctly. 1995-03-20 16:35:11 +00:00
limits.h Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and 1998-03-28 11:51:01 +00:00
link.h Add GDB support for ELF shared libs. 1998-05-23 15:17:53 +00:00
locale.h Basic support for LC_MESSAGES 1998-04-29 22:39:56 +00:00
Makefile Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98. 1998-09-09 11:13:55 +00:00
malloc.h This file is deprecated not "obsoleted". 1997-04-13 11:33:17 +00:00
math.h Don't use __dead or __pure in user code. They were obfuscations 1996-09-14 03:00:32 +00:00
memory.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
mpool.h Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
ndbm.h Don't reference ndbm(3) manpage. Everything is covered by db(3). 1996-03-03 09:04:40 +00:00
netdb.h Update nameserver interface to bind-8.1.2 levels. We do not use IRS (yet?) 1998-06-11 08:55:17 +00:00
nl_types.h Prototypes/typedefs cleanup 1998-04-30 10:09:58 +00:00
nlist.h Move nlist related defines from link.h into nlist.h. Clean up 1997-12-06 17:59:52 +00:00
objformat.h Add a new library function getobjformat(). It checks all the 1998-09-09 01:21:25 +00:00
paths.h Due conflict to some obsoleted applications (dump/restore) rename 1995-09-23 15:14:25 +00:00
pthread_np.h Add a function prototype to set the name of a thread for debugging 1998-04-11 02:50:59 +00:00
pthread.h Implement pthread read/write locks as defined by Version 2 of the Single 1998-09-07 19:01:43 +00:00
pwd.h XOpen says the void setpwent(void) is correct. Also call setpassent(0) 1998-02-01 06:16:08 +00:00
ranlib.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
regex.h Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
regexp.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
resolv.h Remove the extern decl of ``h_errno''. It's already 1998-09-07 19:54:08 +00:00
rune.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
runetype.h Fixed longstanding namespace convolution involving rune_t vs wchar_t. 1996-05-01 00:40:10 +00:00
setjmp.h Suggested by: bde 1998-01-20 09:09:24 +00:00
sgtty.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
signal.h Add the prototype for sigwait(). 1998-08-25 11:08:22 +00:00
stab.h Made them idempotent. 1994-08-21 04:03:58 +00:00
stddef.h Fixed longstanding namespace convolution involving rune_t vs wchar_t. 1996-05-01 00:40:10 +00:00
stdio.h Added macros __printflike() and __scanflike() to <sys/cdefs.h>. 1998-07-13 06:45:23 +00:00
stdlib.h Add reallocf to the library. This function is simliar to realloc, but 1998-09-14 20:34:34 +00:00
strhash.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
string.h string.h defines nonstandard routines when _POSIX_SOURCE is 1996-12-17 19:35:43 +00:00
stringlist.h Add stringlist functions from NetBSD. (required for the new ftp(1) 1997-06-25 08:04:52 +00:00
strings.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
struct.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
sysexits.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
tar.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
time.h Change return type of strptime from const char* to char*. 1998-09-12 21:13:29 +00:00
timepps.h This is a prototype implementation of the draft-mogul-pps-api-##.txt 1998-06-07 19:44:22 +00:00
timers.h Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
ttyent.h MF22: prototype fix. 1998-07-16 00:10:14 +00:00
unistd.h Fixed whitespace lossage and long lines in previous commit. 1998-07-11 13:25:09 +00:00
utime.h Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
utmp.h ut_time is a time_t, not a long. 1998-05-10 21:13:30 +00:00
vis.h Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00