Commit Graph

214 Commits

Author SHA1 Message Date
mycroft f5392c8ae8 Add realpath(3). 1994-05-17 12:44:06 +00:00
mycroft 1c98b23af1 New from 4.4-Lite. Needed for some 4.4 FS utilities. 1994-05-17 12:42:30 +00:00
jtc a5284b9db4 merge back in our changes (mostly POSIX.2 pedanticism) 1994-05-06 18:18:33 +00:00
jtc 34ae5e111c sync with 44lite 1994-05-06 18:02:02 +00:00
cgd 4fffd61a7f fix it to be the way i *meant* it to be... 1994-04-08 00:58:04 +00:00
mycroft 30a812575e From Mark Weaver: Fix typo. 1994-04-07 16:28:05 +00:00
cgd 75e0f16f1b specify what the args's contents must be 1994-04-01 08:33:59 +00:00
jtc a148e5bcbe Remove machine-dependent atof() implementations; use machine independant
version that wraps strtod() instead.
1994-03-17 01:58:55 +00:00
phil 0fc8133c23 Adding ns32k support. 1994-02-25 07:41:35 +00:00
jtc e2c220f94b Fix spelling error in Copyright notice 1994-01-28 20:34:33 +00:00
jtc 584ac8448e Fix spelling errors. 1994-01-10 23:32:20 +00:00
mycroft 34dbfc64b6 Fix two compiler warnings. 1994-01-04 21:40:23 +00:00
jtc bfc2593ae5 Integrate strtoq() and strtouq() from bsd-sources on uunet. 1994-01-03 22:58:35 +00:00
jtc 991b130549 #include <ctype.h> to use the isspace() macro. 1993-12-28 19:42:49 +00:00
jtc bd1ff5e87a Fix bug #12, strtod() now uses localeconv() to get locale specific
decimal point character.
1993-12-21 19:24:09 +00:00
jtc 31b9353995 Use isspace() instead of a switch statement with explicit values when
skipping leading spaces.  This is needed for compliant behavior once
localization support is integrated.
1993-12-21 18:59:11 +00:00
jtc 448b825466 Remove unwanted comma from NAME section. 1993-12-15 18:09:42 +00:00
jtc 865516f9d5 Restore 4 lines of code that UCB added that got lost when I upgraded to
the latest version of this code.  This bug was responsible for printf
formatting errors when values were rounded to 0.
1993-12-07 18:54:32 +00:00
briggs bdb4a3a91a Changed occurance of MACHINE_ARCH == "hp300" to MACHINE_ARCH == "m68k" 1993-12-05 15:45:52 +00:00
cgd f00e1cfe6a get pc532 moved into ns32k; that's is MACHINE_ARCH 1993-12-05 02:20:58 +00:00
cgd 0ada107897 update for .S and MACHINE_ARCH 1993-12-04 02:33:35 +00:00
briggs 8d26954ec2 Add mc68000 to the list for IEEE_MC68k.
Checks for hp300 and amiga should prob. be removed at some point,
but they do no harm being there.
1993-12-03 03:30:16 +00:00
jtc 39d94328c9 Changed to use memset() instead of bzero(). 1993-11-30 21:55:35 +00:00
jtc a66bb8995a Use "Er" for argument to -width in the lists in the ERROR sections so that
formatting is consistant.
1993-11-29 22:06:07 +00:00
jtc 71dad4e4a9 Strtoul returns a unsigned long. 1993-11-24 23:28:21 +00:00
jtc 685b5f8bc6 Remove BUGS section which stated that strtod was unimplemented. 1993-11-24 23:26:16 +00:00
jtc 9bd83209f0 Change C library functions to use strchr() and strrchr() instead of index()
and rindex().  This will allow (strict {ANSI, POSIX, XOPEN}) applications
to redefine index() and rindex() without effecting the library internals.
1993-11-24 19:43:49 +00:00
jtc 5e1b956859 Forgot to change dtoa() to __dtoa() when I updated the code from netlib. 1993-11-11 02:08:55 +00:00
jtc 7600aa4d0a Upgraded to Jun 21, 1993 version from research.att.com:
With 32-bit ints, the former could give too small a block for the return
  value when, e.g., mode = 2 or 4 and ndigits = 24 (16 for 16-bit ints).
  tweak to work with 32-bit ints and 64-bit long
1993-11-10 01:58:57 +00:00
jtc 1f10b5021b Added 1170's a64l() & l64a() functions. 1993-10-22 17:26:43 +00:00
deraadt 7be47c8451 #if defined(hp300) || defined(sparc) || defined(amiga)
The knowledge about floating point format should really be pulled in
from somewhere better.
1993-10-19 08:34:29 +00:00
cgd b950dbff54 fixes from Thomas Eberhardt <thomas@mathematik.uni-Bremen.de> to:
(1) don't clobber the MLINKS variable in rpc
	(2) install the rand48 man page in stdlib
1993-10-19 00:36:16 +00:00
jtc 722c46e238 Rename _findenv() to __findenv(), as _findenv is in the user's namespace. 1993-10-15 01:26:42 +00:00
jtc 721f0be3c4 Removed trailing comma from SEE ALSO section. 1993-10-14 23:30:41 +00:00
jtc d2b1e8e4d3 Rename intenral _rand_foo variables to __rand_foo, as _rand_foo is in the
user's namespace.
1993-10-14 00:34:17 +00:00
jtc aa13ae606a Change _dorand48 to __dorand48, as _dorand48 is in the user's namespace. 1993-10-13 21:55:04 +00:00
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