Commit Graph

128 Commits

Author SHA1 Message Date
jtc 98ada58186 Split cfree() out of calloc.c.
If a user compiling in a strict ANSI or strict POSIX environment uses his
own function named cfree (which is legal, since cfree is not in a restricted
namespace) and calloc, the link will fail due to the cfree in calloc.c.
1993-10-13 21:44:23 +00:00
jtc 716e19806c Document (well, really just mention) external variable optopt.
Add trailing semicolons to the extern variables in the SYNOPSIS section
like all of the other manpages with extern variables.
1993-10-13 17:23:39 +00:00
jtc c5ff256532 POSIX.2 requires special behavior if the first character of the optstring
argument is a colon.
Updated the manpage to reflect the above change, and expanded the example to
the one used by the POSIX.2 rationale, as it more clearly explains how
the new behavior is to be used.
The manpage should be rewritten --- it is much more confusing than it
should be.
1993-10-12 21:52:45 +00:00
jtc f2c1ee25de Added rand48 manual page. 1993-10-09 00:08:02 +00:00
jtc aed559e85d Make it possible to use machine dependant versions of div and ldiv functions.
Use the new i386 versions of div and ldiv.
1993-10-09 00:03:32 +00:00
jtc 42cce25b89 Use machine dependant version of labs.[cs] if one is present.
If not one of the enumerated list of machines, use the C language
versions of abs, labs, and atof.
1993-10-08 00:08:12 +00:00
brezak 933a7b3ad8 Rand48 routines from martin@ntkupc1.tuwien.ac.at (Martin Birgmeier) 1993-10-07 19:53:35 +00:00
cgd 0b9f50897e make an arch directory in libc, and move all machine dirs into it 1993-10-07 00:17:24 +00:00
jtc 0108bea0bb SEE ALSO items not comma separated. 1993-10-04 18:06:34 +00:00
jtc 21f074709e Change <stdlib> to <stdlib.h> in SYNOPSIS. 1993-10-04 18:05:47 +00:00
jtc ae00f50a7c Remove BUGS section, as atof() is now implemented in terms of strtod(). 1993-10-04 17:57:42 +00:00
phil 7ce7cb30df pc532 specifics. 1993-09-17 19:22:50 +00:00
jtc 2eb08c94c4 POSIX.2 has changed getopt to return -1 instead of EOF (to decouple getopt()
from standard i/o).  This change is more pedantic than functional as EOF
is defined to be -1.
1993-09-14 22:37:24 +00:00
jtc 9c20f740a3 Declare rcsid strings so they are stored in text segment. 1993-08-26 00:43:03 +00:00
jtc 647b2510cd Add cast to silence compiler warning. 1993-08-25 22:22:30 +00:00
jtc ec73f57f05 cast away compiler warning message. 1993-08-20 23:40:43 +00:00
jtc 67f034415c Upgraded to be 1003.2-92 compliant. The only functional change is
that -1 is returned when the fork fails.  Updated implementation to
use int rather than deprecated "union wait".  Updated documentation
to describe error / return values.
1993-08-20 23:00:45 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
mycroft 6001d6e5c9 system.c 1993-07-30 03:29:07 +00:00
mycroft bdbbba0b73 Use execve() rather than execl(). This is faster and doesn't use malloc()
(and thus avoids an annoying problem which only seems to manifest itself
in KCL).
1993-07-29 22:09:42 +00:00
mycroft 119df3af46 Make this work on more than just a 386. 1993-07-12 01:23:14 +00:00
cgd aacbd3b3e3 don't include an extra atof.c... 1993-07-09 10:09:31 +00:00
cgd 49693da854 update for better FP routines, from AT&T & elsewhere 1993-07-09 09:40:07 +00:00
proven 7766c000bc Prototype now matches declaration. 1993-05-11 17:08:08 +00:00
mycroft 24e496eca2 Eliminate GCC 2 warning due to prototype not being in scope. 1993-04-18 09:22:35 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00