Commit Graph

391 Commits

Author SHA1 Message Date
pk
33e72d8f40 In execvp(): `eacces' did not get initialized when path name contains a '/'.
This causes the wrong error to be reported when execve() fails.
1993-10-22 19:13:42 +00:00
jtc
3e8ba8c7b5 Add my lsearch & lfind implementations. 1993-10-22 17:51:51 +00:00
jtc
1f10b5021b Added 1170's a64l() & l64a() functions. 1993-10-22 17:26:43 +00:00
jtc
57c5f16709 #include <search.h> to ensure that the public function declarations match
the implementation.
Use old-style function definitions so functions can be compiled with non-ansi
compilers.
Functions are specified to take void * arguments, so they must be cast to
a struct qelem * before they are used.
1993-10-21 21:08:55 +00:00
jtc
4418616857 Move the old berkeley sccs id into the header comment like it is done
for other source files.
1993-10-21 02:19:25 +00:00
jtc
6be8b83abc Gcc helper functions should still use the ENTRY() macro so they will be
show up in profiled code.  (The gcc helper functions in the other ports
do this allready).
1993-10-21 02:03:37 +00:00
jtc
34d1aad0c1 Use PIC_PLT macro with the function calls (as was done with setjmp()). 1993-10-21 01:59:44 +00:00
jtc
79591d04bc So many files in arch/i386 have been changed I might as well run my
remove unecessary trailing whitespace script.
1993-10-21 01:48:14 +00:00
jtc
823c36577c Change instances of LIBC_RCS back to LIBC_SCCS. If we are going to change
th LIBC_RCS, the entire source tree should be updated at once.
Remove && !defined(lint) from conditionals around rcs id's.  No one is
ever going to pass a *.s file through lint.
1993-10-21 01:39:55 +00:00
jtc
9a3e07c4c1 Use BYTE_ORDER == LITTLE_ENDIAN instead of -Dnational to select byte order
of floating point numbers.

The assumption that a processor's floats use the same order as its integers
is probably unwarranted, but it is better than requiring non-national CPUs
to #define national, as that drags in national-specific code too.
(According to a comment in the code, the national FPU does not do infinity)
1993-10-21 00:41:56 +00:00
jtc
6240619b9d Add comma between gamma and lgamma in NAME section. 1993-10-21 00:23:23 +00:00
jtc
7b51b77358 Removed duplicate names from the NAME section. 1993-10-21 00:22:10 +00:00
jtc
97ad548bc0 Replaced instructions with immediate operands with compatible alternatives
saving a few bytes while the cycle count remains the same --- could
actually be faster, depending on the cache, prefetch queue, etc.
1993-10-20 18:50:15 +00:00
cgd
32661c1f77 update to v1.72 of new DB code 1993-10-20 07:25:53 +00:00
jtc
f97d1797c8 Use i386 sigsetjmp()/siglongjmp() implementation.
Install sigsetjmp()/siglongjmp() links to setjmp manpage.
Note that sigsetjmp() and siglongjmp() are 1003.1 compliant.
1993-10-19 21:00:46 +00:00
jtc
6802033480 sigsetjmp() for the i386. 1993-10-19 20:44:00 +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
deraadt
78942d40e6 First cut; not sure if it's right. Very like it is, because it's
the same as the m68k versions..
1993-10-19 08:17:20 +00:00
cgd
211d527be4 fix to pow so that pow(x,y) for x == 0 or x == infinity works. 1993-10-19 01:31:09 +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
cgd
c8c15b1c4c don't compiler strerror.c source here, and clean up. 1993-10-18 20:24:34 +00:00
jtc
4072b7fbd0 Grammar and formatting fixes. 1993-10-18 20:04:00 +00:00
pk
54c62acf22 Let libc_pic.a be installed. 1993-10-17 01:10:37 +00:00
pk
37395ea2bb Added subdir `dl'. 1993-10-17 00:46:25 +00:00
pk
22b1f4b825 User interface to dynamic linker functions.
Note: under construction.
1993-10-17 00:45:45 +00:00
pk
c677f4482a Haven't tested these for NetBSD, but they work in SunOS. 1993-10-16 22:02:58 +00:00
pk
4406f07dc2 Startup code supporting shared libraries.
NOTE: #ifdefs sparcs should be removed
1993-10-16 21:58:39 +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
39ff8227a8 Makefile.inc, basically a place to put KMSRC definition 1993-10-15 01:24:47 +00:00
jtc
c95309148f Copy machine dependant files (KMSRCS) to libkern. 1993-10-15 01:23:49 +00:00
jtc
77bf1ee93b Added copy-to-libkern and rm-from-libkern targets. 1993-10-15 01:06:47 +00:00
jtc
a6c78ff19b Make sure all items in SEE ALSO list are comma separated.
Add cross references to isblank().
1993-10-15 00:58:52 +00:00
jtc
7675ee015a Change `MAN3 = ...'' to `MAN3 += ...'', so other manpages are built. 1993-10-15 00:39:23 +00:00
jtc
981beb6413 Use .Xr for SEE ALSO cross references. 1993-10-15 00:05:44 +00:00
jtc
721f0be3c4 Removed trailing comma from SEE ALSO section. 1993-10-14 23:30:41 +00:00
jtc
d20a30ce29 Change SYNOPSIS section to use "unsigned" instead of "u_int". 1993-10-14 23:25:28 +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
4048c19048 Define errno. 1993-10-13 23:45:22 +00:00
jtc
af384ef2d9 Remove "errno" definition.
Errno should be defined in the c start up code, crt0.c (It is in most
ports) otherwise the sys_errlst table will be linked into binaries
where it is not used.
1993-10-13 23:41:02 +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
e4da5d66a6 Use __dead instead of volatile. 1993-10-13 18:42:31 +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
mycroft
ababab0671 Forgot to initialize `cp' in setsyserr(). 1993-10-13 15:49:55 +00:00
cgd
2918003a45 make make after depend finally work. have to do more work, but that's
OK...
1993-10-13 05:28:03 +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
cgd
41ec5a7f5c adding sysarch() man page 1993-10-12 02:16:33 +00:00
jtc
91ebf777c7 Moved cuserid() from getlogin.c to its own file, cuserid.c.
getlogin() and cuserid() do very different things, getlogin() is POSIX,
while cuserid() is not (it was removed in the 1990 revision).
1993-10-11 19:45:52 +00:00
jtc
a3b3dd2348 Install cbrt link to sqrt manpage. 1993-10-11 19:20:24 +00:00
mycroft
cc73d66b19 Clean up deleted files. 1993-10-10 00:32:42 +00:00