Commit Graph

97 Commits

Author SHA1 Message Date
drochner
a34eb7c1b7 use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriate
libc builds on pmax again
1999-02-24 15:05:20 +00:00
abs
593d6c65b9 Add '-f disktab' option to disklabel, via lib/6623 from
Greg A. Woods <woods@most.weird.com>. (Very) slightly tweaked disklabel.8
1999-01-19 06:24:08 +00:00
bouyer
dc306354b0 Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
thorpej
e1f67632f8 Build __errlist14.c, __siglist14.c, and __signame14.c 1998-11-30 20:41:21 +00:00
christos
1ebb9bf289 Adapt to new signal changes (from Jason) 1998-09-26 23:53:36 +00:00
mycroft
57ae5a9baa Add links for uid_from_user(3) and gid_from_group(3). 1998-07-28 19:58:25 +00:00
lukem
9557a71026 * move pw_scan() from libutil to libc
* add support for YP "master.passwd.by*" (master.passwd in YP, including
  pw_passwd) and "passwd.adjunct.by*" (SunOS `secure' maps (?)), based
  on code in FreeBSD and partially from OpenBSD.
  this is only used if euid == 0.
  with this, the YP "passwd.by*" maps can have `*' in the pw_passwd field.
* use pw_scan() to parse YP "passwd.by*" and "master.passwd.by*" entries

XXX: i didn't test the "passwd.adjunct" support...
1998-06-08 03:17:59 +00:00
fair
53a1274f8f make explicit why an MLINKS for setpwfile.3 is commented out 1998-04-28 17:54:41 +00:00
fair
e3652383f9 remove getsubopt.3 - there is another man page for this in ../stdlib that came from the Lite2 merge. This closes PR4600 1998-03-19 08:22:53 +00:00
perry
1698d73479 add realpath.3, getsubopt.[c3] 1998-02-02 23:24:03 +00:00
perry
f41c5d7661 it turns out we don't want getvfsbyname after all. 1998-02-02 22:52:15 +00:00
perry
08b0946f73 merge/update to lite-2 1998-02-02 02:41:17 +00:00
kleink
916831ec4e Add lockf(), an alternate interface to perform advisory record locking;
per XPG4.2.
1997-12-20 20:23:15 +00:00
mrg
4e252e8c4d add missing .Nm entries. from spz@serpens.swb.de. 1997-11-14 02:04:36 +00:00
kleink
20d81f8f56 Forgot to add basename()/dirname() manpages in last commit. 1997-11-03 17:47:44 +00:00
kleink
8bfc0cef1e Add basename() and dirname(), from XPG4.2. 1997-11-02 16:48:25 +00:00
fvdl
d6b51107ce Hacks to enable libc to work without bumping the major. 1997-10-21 00:55:10 +00:00
christos
121197f0ea Bring timezone back to libc. 1997-10-20 15:50:22 +00:00
christos
051a7d3051 timezone moved to libcompat 1997-10-16 23:04:38 +00:00
mikel
ab18bfe1bf add toascii(3) 1997-07-16 06:22:07 +00:00
lukem
a3fc812065 man page for stringlist functions 1997-02-24 11:47:10 +00:00
lukem
f694f3b120 Add stringlist implementation
Convert getnetgrent from private stringlist to public version
1997-01-17 07:26:18 +00:00
jtc
8610f496a7 New __errno() function, returns the address of the errno variable. 1996-11-07 05:37:34 +00:00
perry
90dac65cbf Nuked tahoe machine specific conditionals. 1996-10-16 17:53:44 +00:00
cgd
c8365a76b4 Seriously revamp libc's nlist()/__fdnlist() support:
(1) split nlist() into multiple files, for clarity and to make
	    ELF 32/64 support easier,
	(2) support multiple executable types at the same time, and
	(3) add support for 32- and 64-bit ELF (32-bit ELF support
	    originally from OpenBSD, but with several bug fixes so
	    that it actually handles symbols types more correctly
	    (and therefore _works_ for some of the more tricky uses
	    of the nlist routines) and changes for 64-bit ELF support).
1996-09-27 22:23:03 +00:00
jtc
614420255a Split all exec*() functions out of exec.c into their own files. 1996-07-03 21:41:46 +00:00
jtc
ec081115f9 Split each function in err.c out into its own file. This is needed
for systems without weak or indirect references.
1996-04-15 23:44:53 +00:00
jtc
02788519a9 termios code has been moved to new libc/termios directory. 1995-04-25 00:06:17 +00:00
ragge
db0c9cd300 Removed VAX specific definitions. 1995-04-17 12:28:29 +00:00
jtc
20d50456cc Removed references to ctime.3 and tzset.3 manpages and associated manpage
links (they have been moved to libc/time).
1995-03-10 06:15:10 +00:00
jtc
57274dc48e date and time functions have been moved 1995-03-09 23:31:07 +00:00
cgd
db638fe19d typo 1995-02-25 17:17:33 +00:00
cgd
4145a97c7f oops; biffed path 1995-02-25 17:08:29 +00:00
cgd
a87693f257 update from Lite, clean up a bit, seperate arch-specific file list. 1995-02-25 17:05:19 +00:00
cgd
b42e80ba75 list the files needed on the alpha. 1995-02-10 17:46:48 +00:00
pk
a64c43edd8 Add sigsetjmp() for sparc. 1995-01-11 20:23:59 +00:00
jtc
7141eb20ba 4.4lite's C language sigsetjmp() implementation is bogus, restore
machine dependant versions.
1994-12-23 22:25:48 +00:00
cgd
ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
jtc
3c98cdcd84 Rework indirect reference support as outlined by my recent message to
the tech-userlevel mailing list.
1994-12-12 22:41:50 +00:00
christos
9cc12a55d4 - Changed all internal libc references of {v,}err{x,} and {v,}warn{x,} to
__{v,}err{x,} and __{v,}warn{x,}
- moved err.c to __err.c and added err.c which contains weak references for
  the above functions.
- Reordered the functions in __err.c to avoid redeclarations and changed
  the varargs declarations to conform with the K&R style.
1994-12-11 20:43:48 +00:00
jtc
912b8b6429 Use 44lite's clever sigsetjmp()/siglongjmp() implementation I just imported. 1994-12-10 11:29:03 +00:00
deraadt
3dffaf5ef4 remove duplicate infinity.c 1994-12-07 14:52:59 +00:00
phil
6adbfc3390 Adding sigsetjmp.S for ns32k. 1994-12-07 04:47:23 +00:00
dean
a7d9360c57 Include files for pmax 1994-11-14 23:46:52 +00:00
cgd
ac8938c341 make the sysv functions real syscalls. 1994-10-20 04:16:58 +00:00
jtc
c50384799a Renamed sys_errlist[] and sys_nerr to __sys_errlist[] and __sys_nerr.
The traditional API of sys_errlist[] and sys_nerr is provided by weak
references if they are supported.  Otherwise, we're forced to have to
have two copies of the error message string table in the library.
Fortunately, unless a program uses both sys_errlist[] and strerror(),
only one of the copies will be linked into the executable.

This is all to provide an clean namespace as required by ANSI.  I've
done the same for sys_siglist[], even though it is not required, to
be consistant.
1994-10-10 04:46:39 +00:00
mycroft
4bdad03539 Fix broken import of Lite directory code. 1994-08-29 04:47:31 +00:00
cgd
bcf72fa869 frexp.? is machine-dependent, as suggested by phil. 1994-08-19 20:57:43 +00:00
jtc
b03f43b105 install getnetgrent() manpage 1994-06-28 04:34:24 +00:00
jtc
288ce51d32 Ftok() routine, needed by most programs that use SysV IPC. 1994-06-26 16:24:55 +00:00