Commit Graph

45 Commits

Author SHA1 Message Date
kleink e4d7c2e329 Add ISO C99 long long integer general utility interfaces; partially addresses
PR standards/9482.
2000-03-06 18:32:22 +00:00
kleink 1bba558e50 Move <null.h> to <sys/null.h> for the purpose of avoiding conflicts due to
std C headers including it, and a kernel module written in C++ would benfit
as well.
2000-01-10 16:58:38 +00:00
kleink c07f17e8d9 For the benefit of G++'s null pointer constant implementation, #define NULL
as __null with egcs 1.0 (GCC 2.90) and above.  As several headers are affected
by this change, move the definition into a new header file, <null.h>, to ease
maintenance.
1999-12-22 21:26:15 +00:00
kleink e2b924d2ae Add l64a_r(), a reentrant version of l64a(); found in the Multithreading
Extension of SVID4.
1999-02-06 15:04:05 +00:00
mycroft f886615650 __Namespace__ __protection__. 1998-07-30 00:44:15 +00:00
mycroft a6b6f620db Sprinkle in some __attribute__((noreturn))s. 1998-07-28 00:28:29 +00:00
mycroft cbb3325e89 Actually, FreeBSD calls this mkdtemp(). No point in creating a new name. 1998-07-27 16:12:01 +00:00
mycroft 7daf213c0f Add a mktempdir(), like mkstemp(), but it creates a directory. 1998-07-27 16:05:07 +00:00
mycroft 29916a94a6 Slight rearrangement. 1998-07-27 11:09:19 +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
mycroft 4f4968a946 Mark more functions returning internal buffers for const auditing. 1998-07-27 09:33:44 +00:00
mycroft b223acf69a const poisoning. 1998-07-26 23:03:30 +00:00
kleink 9b9e255051 * Further name space protection reorganization: distinguish between various
issues of the XPG.
* Move setkey() prototype from <unistd.h> to this file. (XPG4)
* Move mkstemp(), mktemp(), ttyslot() and valloc() prototypes from <unistd.h>
  to this file. (XPG4.2)
1998-06-01 20:10:15 +00:00
kleink ff08122ed4 Reorganize name space protection. 1998-05-11 12:00:27 +00:00
kleink df0d6631b5 Per XPG4.2, change the `n' argument of initstate() to size_t. (Since it was
recently changed from int to long (lite-2 import), I saw no reason to delay
this `alignment'.)
1998-02-04 21:06:14 +00:00
perry b7b7322c68 merge lite-2 1998-02-02 21:07:13 +00:00
thorpej 5caf2349e4 Fix the prototypes for srandom() and initstate() after the libc/stdlib lite-2
merge (ints -> longs).  The only platform on which this might have caused
a problem is the Alpha, and it happens to be safe because the first 6 arguments
are passed in registers on the Alpha (and are thus implicitly promoted to
longs anyhow).
1998-01-31 20:36:47 +00:00
christos 410b3b428a devname is (dev_t, mode_t) not (int, int) 1997-10-16 23:24:49 +00:00
mikel e95e818cbd some minor KNF 1997-07-14 00:30:28 +00:00
christos efac03b6a6 Add missing rand_r prototype 1997-07-13 18:01:53 +00:00
jtc ef34ad8ea5 Add __dead qualifier to abort() and exit(); PR 1845 1995-12-27 21:19:08 +00:00
jtc 745bba819b added prototype for qabs() 1995-03-22 01:08:31 +00:00
jtc f442fd56dc Moved conditional #include of <sys/types.h> to near the top of file.
Defined qdiv_t typedef.
Declared qdiv function.
1995-03-21 23:08:14 +00:00
jtc 096d03c8ef fix typo 1994-12-17 04:19:06 +00:00
jtc 8f4aafd39a add prototype for realpath() 1994-12-16 06:22:56 +00:00
cgd 4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
jtc 9be1b3f521 Add strtoq() & strtouq() declarations 1994-08-07 23:17:56 +00:00
deraadt ac50c9ed77 add 3 protos 1994-07-02 05:01:45 +00:00
mycroft 9100463c3b Update *sort() prototypes. 1994-06-16 05:45:35 +00:00
cgd 2922de7461 add _BSD's to ansi types 1994-05-21 09:41:59 +00:00
jtc 6abbb15be4 add new getopt(3) extern variable optreset 1994-05-07 00:20:42 +00:00
cgd e9b31046c9 setproctitle proto 1994-04-14 03:13:54 +00:00
cgd 3218612591 kill third arg to getbsize. 1994-01-25 20:10:11 +00:00
cgd b39637b14a getbsize takes a (somewhat bogus, IMO) third parameter 1994-01-25 20:01:32 +00:00
cgd 2ca1b1a166 add protos for getbsize() (in libutil) and the getcap routines (in libc) 1994-01-24 23:15:24 +00:00
jtc 09a53cd276 stdlib.h should define NULL -- Ansi C, Section 7.10. 1993-11-13 01:44:59 +00:00
jtc 265211f17c Fix typo in last checkin. 1993-10-22 17:52:28 +00:00
jtc e26feab105 Added prototypes for a64l() & l64a(). 1993-10-22 17:34:38 +00:00
jtc 7ec10e7095 Moved declarations for cfree, setenv, putenv and the rand48 family
into !_ANSI_SOURCE && !_POSIX_SOURCE conditional.
Added extern for getopt's optopt variable.
1993-10-13 17:56:09 +00:00
jtc 11b51f8dcb #include <machine/ansi.h>, declare size_t typedef.
Only include <sys/types.h> if !_POSIX_SOURCE.
1993-10-11 19:08:26 +00:00
brezak 933a7b3ad8 Rand48 routines from martin@ntkupc1.tuwien.ac.at (Martin Birgmeier) 1993-10-07 19:53:35 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
brezak 6efeb0f4c8 GCC2 defines alloca() differently. 1993-06-08 01:29:43 +00:00
cgd 3ed1b2cbf7 patch from rich murphy (rich@rice.edu) to fix alloca prototype 1993-03-25 05:51:03 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00