summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
Commit message (Collapse)AuthorAgeFilesLines
* Update to use the new elf headers.dfr1998-08-171-15/+28
|
* isnetworktty -> isnettty. ttyent.h has already gone through 3bde1998-08-032-6/+6
| | | | | | revisions to match the confusing spelling in getttyent.c (1 to break it to match the man page and 1 in each of 2 branches to fix it). This function seems to be orphaned and unused.
* Fixed printf format errors.bde1998-08-021-1/+1
|
* Add lockf().dt1998-07-081-3/+3
|
* Make this look more FreeBSDish.dt1998-07-081-8/+2
|
* This commit was generated by cvs2svn to compensate for changes in r37510,dt1998-07-082-0/+345
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * An implementation of lockf() function call.dt1998-07-082-0/+345
| | | | Obtained from: NetBSD (author: Klaus Klein)
* fts_close calls free(sp), the ISSET(FTS_NOCHDIR) which is a macro thatphk1998-07-032-6/+8
| | | | | | | | references sp. The free needs to follow ISSET PR: 7148 Reviewed by: phk Submitted by: Ken Mayer <kmayer@freegate.com>
* Cross-reference to sysconf(3).eivind1998-06-301-1/+2
|
* Fixed printf format errors.bde1998-06-301-1/+1
|
* Make nlist() understand elf unconditionallypeter1998-06-122-5/+2
|
* Move ftok() from libcompat to libc, so that it can be closer to itsjdp1998-06-101-3/+3
| | | | | | friend shmget(). PR: closes misc/6763
* This is a null commit to log the fact that I have done a repositoryjdp1998-06-102-2/+2
| | | | | | | copy to bring these files into libc from libcompat. I will enable them and kill off the libcompat versions on the main branch soon. PR: step one toward closing misc/6763
* Implement compile time debug mode for thread locks.jb1998-06-093-11/+11
|
* Fix this so that it compiles in the !__STDC__ case.steve1998-06-061-1/+5
| | | | | | Also be consistent about usage of #if ... Pointed out by: bde
* Mention that tftpd(8) also uses syslog(3).jkoshy1998-06-051-2/+3
|
* Correct wrong claim about `telldir()' cookie lifetimes.jkoshy1998-06-031-16/+11
| | | | | PR: 4043 Submitted by: Joe Orthoefer <j_orthoefer@tia.net>
* Add a trivial mechanism for returning a useful default value if one ismsmith1998-06-011-1/+4
| | | | | | | | | available and the kernel MIB setting is zero. Return the result from getpagesize() if the p1003_1b.pagesize MIB value is zero. Suggested by: Joerg Schilling <schilling@fokus.gmd.de>
* Several sources including Unix98 say that semctl's fourthsteve1998-05-311-5/+24
| | | | | | | | | | parameter is optional except where: cmd == {IPC_SET || IPC_STAT || GETALL || SETVAL || SETALL} PR: 2448 Reviewed by: bde Submitted by: Tim Singletary <tsingle@sunland.gsfc.nasa.gov> Minor tweaks by: steve
* Remove references to getvfsbytype. Also remove getvfsbynamesteve1998-05-301-32/+13
| | | | | | as it has its own manpage. Discussed with: bde
* Remove a couple style bugs from the code snippet thatsteve1998-05-261-3/+3
| | | | | | slipped in on the previous commit. Submitted by: bde
* Update code example to reflect current practice.steve1998-05-251-12/+10
|
* NetBSD doesn't have a __getcwd syscall, so set have__getcwd to `no'jb1998-05-151-0/+4
| | | | when building libc with NetBSD syscalls.
* Remove extern int errno and #include <errno.h> to get the proper definition.jb1998-05-051-1/+1
|
* Go back to version 1.16 - it was correct the way it was.brian1998-05-011-6/+6
| | | | Pointed out by: bde
* connect() returns -1 on error - not 0.brian1998-05-011-7/+7
|
* Stubs are required in libc so that it can be used with libpthreadjb1998-04-291-1/+5
| | | | | (and kernel threads), but weak symbols and non-weak symbols of the same name built into libc_r result in unpredictable linking.
* Oops, revert part of a diff that wasn't supposed to have been committed.dg1998-04-281-2/+2
|
* Cache the results of the ps_strings sysctl so that it doesn't have to bedg1998-04-281-10/+12
| | | | redone for every call of setproctitle().
* Improve description.rnordier1998-04-221-5/+6
| | | | Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
* Typo policebrian1998-04-171-1/+1
|
* Change in name of the static initializer define.jb1998-04-041-1/+1
|
* Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B anddufault1998-03-281-53/+54
| | | | | | | | | | | | | | | | _KPOSIX_PRIORITY_SCHEDULING options to work. Changes: Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones; Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux; Add man pages for _POSIX_PRIORITY_SCHEDULING system calls; Add options to LINT; Minor fixes to P1003_1B code during testing.
* Fixed bitrot in synopsis. Didn't fix bitrot elsewhere.bde1998-03-231-6/+7
|
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aqcharnier1998-03-194-16/+16
|
* Change MACHINE to MACHINE_ARCH.jb1998-03-091-12/+4
| | | | | | Add _spinlock.c (stubs) to sources. Nuke tahoe and vax.
* Stub functions for thread locking with weak symbols so that they arejb1998-03-091-0/+60
| | | | only linked when not linking an application against libc_r or libpthread.
* NetBSD implements semctl using a __semctl syscall instead of thejb1998-03-091-0/+4
| | | | | semsys syscall that FreeBSD kernels use. Grumble. So make the call dependent on if __NETBSD_SYSCALLS is defined.
* getvfsbyname() doesn't existing NetBSD, so return ENOSYS if compiledjb1998-03-091-1/+5
| | | | into a library with __NETBSD_SYSCALLS defined.
* Change a variable to type size_t to suit the sysctl prototype.jb1998-03-091-2/+4
| | | | Add #include <string.h> to get prototypes.
* Cast pointer to a long instead of an int to keep a 64-bit compilerjb1998-03-091-1/+1
| | | | happy. The code works either way, but I like a clean compile.
* Reviewed by: bdedufault1998-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Changes to support building with _POSIX_SOURCE set to 199309L: 1. Add sys/_posix.h to handle those preprocessor defs that POSIX says have effects when defined before including any header files; 2. Change POSIX4_VISIBLE back to _POSIX4_VISIBLE 3. Add _POSIX4_VISIBLE_HISTORICALLY for pre-existing BSD features now defined in POSIX. These show up when: _POSIX_SOURCE and _POSIX_C_SOURCE are not set or _POSIX_C_SOURCE is set >= 199309L and vanish when: _POSIX_SOURCE is set or _POSIX_C_SOURCE is < 199309L. 4. Explain these in man 9 posix4; 5. Include _posix.h and conditionalize on new feature test.
* Add support for ELF.jdp1998-03-071-34/+106
| | | | Switch to ANSI-style function definitions.
* We don't need to NUL terminate our sun_path.brian1998-03-061-4/+3
| | | | Pointed out by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
* Nul terminate sockaddr_un::sun_pathbrian1998-03-061-3/+4
| | | | Suggested by: Theo de Raadt <deraadt@openbsd.org>
* Make SyslogAddr a sockaddr_un rather than a sockaddr.brian1998-03-051-10/+12
| | | | | This wasn't a problem in practice as PATH_LOG and PATH_OLDLOG are both < sizeof sockaddr::sa_data.
* Reviewed by: msmith, bde long agodufault1998-03-041-0/+107
| | | | | POSIX.4 headers and sysctl variables. Nothing should change unless POSIX4 is defined or _POSIX_VERSION is set to 199309.
* Replace previous commit with a check disallowing ptr from runningsteve1998-03-011-14/+7
| | | | | | | off the end of the list variable. PR: 5345, 5610 Submitted by: nagao@cs.titech.ac.jp
* Strings are terminated by NUL, not NULL.jraynard1998-02-281-3/+3
|
* Remove the config_* routines with permission from Poul-Henning Kamp,steve1998-02-283-265/+3
| | | | | | | the original author. PR: 5834 Discussed with: phk, jkh
OpenPOWER on IntegriCloud