Commit Graph

128 Commits

Author SHA1 Message Date
christos bd9067774f Add local.h for local prototypes.
Fix namespace issues for strtoq and strtouq
Fix gcc warnings.
Fix RCSID's
1997-07-13 20:16:31 +00:00
mikel 3f0dbdf761 xref exit(3) not exit(2) 1997-07-10 07:57:07 +00:00
mikel 109d917438 avoid unportable arithmetic on void pointers 1997-06-19 07:41:32 +00:00
mikel 2acd0ee09a optarg -> optstring and rewording from Brian Grayson in PR misc/3697. 1997-06-04 06:42:38 +00:00
cgd c917dfb5b2 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
	.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
	.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
kleink 3edccf530b * Remove incorrect comment: as per POSIX.1, calling abort() _does_ flush
and close open streams.
* Document that calling abort() removes temporary files.
Fixes PR/2967 from Peter Seebach <seebs@taniemarie.solon.com>.
1997-05-19 02:22:42 +00:00
kleink 09ad86b260 Remove misleading comment in abort() function; fixes PR/2966 from
Peter Seebach <seebs@taniemarie.solon.com>.
1997-05-19 02:18:14 +00:00
mrg cbf5ef7c50 move str[fp]time into libc/time. 1997-04-23 01:17:59 +00:00
jtc d54db152ba Use standard locale data rather than providing a local copy.
Sync'd function prototype with the one used in Solaris 2.5.  There have
been many format specifiers added to the Solaris version which are not
implemented in our version.  This needs to be fixed.
1997-04-23 00:01:17 +00:00
mrg d47b27a34b add strptime() to libc. 1997-04-21 12:36:25 +00:00
christos 0940e9d8bf PR/3448: Bill Sommerfeld: Change "p" to __STRING(p) 1997-04-07 03:12:14 +00:00
thorpej d83d59241e PowerPC is an IEEE floating point system. 1997-03-29 21:04:08 +00:00
mrg 9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +00:00
cgd 4bf7fe6145 const poisoning: __findenv()'s first arg should be const char * (lint) 1996-12-20 20:32:54 +00:00
cgd 54c7614104 don't confuse long and int; pointed out by lint 1996-12-20 20:32:02 +00:00
cgd a13d8bf828 use __inline and __asm, rather than inline and asm. By default (without -g)
lint won't accept the latter two, but will accept the former two as valid.
As far as gcc's concerned, they're the same.
1996-12-19 07:56:32 +00:00
jtc 0fbafa5982 Added rand_r() 1996-11-19 02:56:35 +00:00
lukem 43d6d7cf35 fix the the typos 1996-11-12 01:04:24 +00:00
jtc ab90fa0e5c POSIX.1 requires that stdio buffers be flushed on abort. 1996-10-24 20:45:55 +00:00
perry 78954ddcf6 Nuked machine specific conditionals for tahoe. 1996-10-16 17:56:37 +00:00
christos b47990743d <machine/endian.h> -> <sys/types.h> 1996-10-13 00:05:33 +00:00
jtc 943f3d2f5c The argument to isspace() must be representable as an unsigned char.
This change casts the argument to an unsigned char so that this
function will work with strings with their 8th bit set.
1996-07-20 01:09:05 +00:00
jtc 2d903c854c Changing type of "c" to unsigned did not fix the problem --- a signed
char is sign extended before it is assigned to an unsigned int.  This
fix, which has been tested with a different testcase, adds casts to
signed chars which results in proper behavior.
1996-07-20 01:03:54 +00:00
jtc 83481cc8e8 Changing type of "c" to unsigned did not fix the problem --- a signed
char is sign extended before it is assigned to an unsigned int.  This
fix, which has been tested with a different testcase, adds explicit
casts to unsigned char before the value of a character is copied.
1996-07-20 01:00:55 +00:00
jtc 24de9e4a12 The argument to isfoo() must be representable as an unsigned char, so
type of "c" has been changed to unsigned.  This change allows these
functions will work with strings with their 8th bit set.
1996-07-11 01:47:38 +00:00
jtc c34d1a35dd Fixed bad cross reference: waitpid(3) -> waitpid(2). 1996-02-16 22:30:46 +00:00
mark 1d95fe29ce Get the floating point byte and word orders correct for the arm32. 1996-02-16 21:19:29 +00:00
jtc 03edaa24b7 The C standard says (about realloc) that "If size is zero and ptr is
not a null pointer, the object it points to is freed."  Reported by
Peter Seebach in PR #1806.
1996-01-17 02:45:25 +00:00
thorpej 6dda330ef6 New-style RCS ids. 1995-12-28 08:51:55 +00:00
mycroft 9b62656910 Rearrange to avoid sign problems with GCC. 1995-12-21 03:56:06 +00:00
mycroft e0c0c4749d Minor cleanup. 1995-12-20 23:14:48 +00:00
pk 768025b976 waitpid is in section 2 (from John Kohl; PR#1710). 1995-11-01 10:02:29 +00:00
jtc b5d1933995 Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
section with the actual function declarations.  See PR #1589 for details.
1995-10-12 15:40:27 +00:00
jtc 1840cfa21f pagesize(2) -> getpagesize(2) 1995-08-17 23:30:42 +00:00
jtc 0b2dbb02ca add explicit return type 1995-06-14 05:19:52 +00:00
jtc 6eaa1d60d8 define __atexit pointer 1995-06-14 05:17:53 +00:00
jtc bebf039306 add extern qualifier to __atexit pointer declaration 1995-06-14 05:16:04 +00:00
jtc 9ae90685f2 Winning Strategies has placed this code in the public domain. 1995-05-11 23:03:44 +00:00
ragge ae8e3c9f1a Changed abs.S to abs.c for vax. 1995-04-25 15:36:39 +00:00
jtc 92702b3bed removed unnecessary #include <stddef.h> 1995-03-23 19:42:42 +00:00
jtc 7681b92c66 Enable qabs(), a quad_t version of abs() and labs(). 1995-03-22 00:36:52 +00:00
jtc 918d73c578 LDIV -> QDIV 1995-03-21 23:46:00 +00:00
jtc bec46bcced add cross references to qdiv(3) 1995-03-21 23:22:17 +00:00
jtc bfd7fc20d9 New function qdiv. Like div and ldiv, but works with quad_t's. 1995-03-21 23:12:35 +00:00
jtc 5091f60d44 ldiv takes long arguments 1995-03-21 22:54:50 +00:00
jtc 3baa1f1967 Changed the multibyte character functions so they work with the native
single byte character set.
1995-03-05 07:41:15 +00:00
jtc 7cd5ae5858 remove unneeded "#include <stddef.h>" 1995-02-28 01:46:24 +00:00
jtc 88ba3f858c Changed <sys/signal.h> to <signal.h> 1995-02-28 01:13:50 +00:00
cgd b42e80ba75 list the files needed on the alpha. 1995-02-10 17:46:48 +00:00
jtc 38163d03a8 #include <machine/endian.h>. 1994-12-23 22:50:19 +00:00