summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Change MACHINE references to MACHINE_ARCH.jb1998-02-201-3/+3
|
* Change MACHINE references to MACHINE_ARCH.jb1998-02-204-11/+11
|
* Add #include <string.h> to get prototypes.jb1998-02-201-1/+2
|
* The NetBSD getlogin syscall has a different name.jb1998-02-201-0/+4
|
* Fix a bogus cast for a bogus pointer check. This only checks if thejb1998-02-201-1/+1
| | | | | pointer is 4-byte aligned. On a 64-bit machine it probably should check that the pointer is 8-byte aligned (eh, Bruce?) 8-)
* NetBSD kernels don't have issetugid(), so #ifdef this out whenjb1998-02-201-1/+5
| | | | | building FreeBSD's libc to run with a NetBSD kernel. We'll get to the alpha kernel later, I promise. 8-)
* Need to #include <unistd.h> for nice(3).steve1998-02-181-0/+1
| | | | | PR: 5782 Submitted by: David Malone <dwmalone@maths.tcd.ie>
* Submitted by: Jeremy Allison (jallison@whistle.com)julian1998-02-182-6/+6
| | | | | | fix a slight confusion about which draft of threads we are supporting. this allows something as big and ugly as samba to be compiled with libc_r and still work! our user-level pthreads seems amazingly robust!
* correct a typo I just noticed.jkh1998-02-171-1/+1
|
* Mention when bidirectional features first appeared.jkh1998-02-171-0/+4
|
* signal() returns SIG_ERR, not just -1. The sys/signal.h header filejb1998-02-151-1/+1
| | | | | | | provides the cast from -1 to the signal() return type, so no further casting by programmers should be required. Pointed out by: bde (of course).
* Note that '+' and '?' are not special characters in basic REs but theysteve1998-02-141-2/+5
| | | | | | | can be simulated using bounds. PR: 5708 Submitted by: Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>
* Describe signal handling. Don't describe the old implementation. Don'tbde1998-02-131-35/+17
| | | | | | define `microsecond'. Cleaned up English. Obtained from: mostly from sleep.3
* Describe signal handling. Don't describe the old implementation. Cleanedbde1998-02-131-30/+23
| | | | | | up English. Obtained from: mostly from NetBSD
* Many security improvements from OpenBSD:imp1998-02-133-35/+113
| | | | | | | | | | | implement mkdtemp improve man page for mk*temp use arc4random to seed extra XXX's randomly Optionally warn of unsafe mktemp uses From various commits by theo de raadt and Todd Miller. Obtained from: OpenBSD This should go into 2.2 after a testing period.
* Fixed disordering of MLINKS in previous commit. Fixed old disorder inbde1998-02-121-17/+15
| | | | MLINKS.
* Fix _listmatch() again so that it works with group lists containing onlywpaul1998-02-121-7/+14
| | | | | | | | | one group. Thanks to Dirk Froemberg for supplying a patch for this. I will be closing out the PR and moving this to the 2.2.5 branch later: my login sessions to freefall from Columbia are ridiculously spotty today. PR: 5610 Submitted by: Dirk Froemberg <ibex@physik.TU-Berlin.DE>
* - Bump the minor # due to the addition of the stringlist functions.nate1998-02-121-2/+2
| | | | Reviewed by: asami
* Do signal handlig he Posix wayguido1998-02-101-40/+11
| | | | Obtained from: NetBSD (after complains from Bruce)
* Move the trampolines for dlopen and related functions from crt0.ojdp1998-02-094-3/+460
| | | | | | | | | | | | | | | into libc. This reduces the size of every dynamically linked executable by 248 bytes, and it reduces the size of static executables by a lesser amount. It also eliminates some global namespace pollution. With this change in place, the source for dlfcn.h should probably be moved to "/usr/src/include". I'll save that for another day. Compatibility note: Programs which use dlopen, if compiled on systems with this change, will not run on systems with a libc from prior to this change. Very few programs use dlopen, so I think that is OK.
* Document the fpgetprec/fpsetprec functions in their man page.jlemon1998-02-043-1/+4
| | | | | | Add cross-references to the elusive fpsetmask() function to various other man pages. Reviewed by: bde
* Cleanup the manpage now that setpwent has a void return type.steve1998-02-011-7/+7
|
* XOpen says the void setpwent(void) is correct. Also call setpassent(0)steve1998-02-011-7/+2
| | | | | | instead of duplicating code, albeit trivial (inspired by NetBSD). PR: 5524
* Kill lfs files that were causing make world to fail.imp1998-01-311-3/+2
|
* PR: 5573danny1998-01-272-2/+4
| | | | | Submitted by: garbanzo@hooked.net Add strncasecmp, strncmp to NAME field.
* Fix a cast from a pointer to a long instead of an int which was enoughjb1998-01-241-2/+2
| | | | to ruin a 64-bit day.
* Eliminate sprintfimp1998-01-211-1/+2
| | | | Obtained from:OpenBSD (theo de raadt)
* Fixed #includes in the synopsis and in an example. <sys/socket.h>bde1998-01-201-1/+1
| | | | | | isn't a prerequisite, since it isn't required for the prototypes and isn't always needed to call the functions (the address family might be a variable).
* Moved most of the (source-level) compatibility hacks for the vfsconfbde1998-01-201-2/+4
| | | | | interface from sys/mount.h to libc/getvfsent.c The new interface is now the default.
* Added cross references to mincore(2) and minherit(2).alex1998-01-201-0/+3
| | | | Obtained from: OpenBSD
* Added #include <sys/types.h> to synopsis.alex1998-01-202-1/+4
| | | | Obtained from: OpenBSD
* Started getting rid of the compatibility cruft for the Lite1 mount()bde1998-01-171-0/+2
| | | | | | | | and the pre-Lite2 vfsconf interfaces. For getvfsent.c, just define _OLD_VFSCONF. This will give the current default macro hacks in <sys/mount.h> when the default is reversed. This is an intermediate step.
* Fixed missing #include in synopsis.bde1998-01-161-0/+2
|
* Fixed wrong prototype for clock_getres().bde1998-01-161-2/+2
|
* Fixed wrong prototypes. Most of the prototypes had missing return types,bde1998-01-161-9/+19
| | | | or missing const's or `short *' instead of `[ug]id_t *' in argument types.
* Fixed missing return type in a prototype.bde1998-01-161-0/+1
|
* Return the correct errno from getcwd() even if free() or closedir()mckay1998-01-151-0/+4
| | | | | | overwrites it. This actually showed up when running under an old kernel when free() called the madvise() stub which set errno, causing getcwd() to return EOPNOTSUPP instead of ERANGE.
* Add #ifndef __NETBSD_SYSCALLS around calls to issetugid() whichjb1998-01-153-6/+18
| | | | do not exist in NetBSD 1.3.
* Typo fix.alex1998-01-151-2/+12
| | | | | | | Added EOPNOTSUPP and EMLINK to errors section. Added symlink(2) xref. Obtained from: OpenBSD
* Include string.h for memcpy function prototype.jb1998-01-141-0/+1
|
* Consistently reference init as .Xr init 8.alex1998-01-131-2/+2
| | | | Obtained from: OpenBSD
* Return type and argument to sleep are unsigned int.alex1998-01-131-2/+3
|
* Dump the constant NGROUPS in favor of the POSIX way:alex1998-01-131-9/+6
| | | | | | sysconf(_SC_NGROUPS_MAX). Submitted by: bde
* Use .Fn for sysconf(_SC_CLOCK_TCK) reference.alex1998-01-131-1/+3
| | | | Added $Id$.
* Formatting fix & improved comment for struct timeval.alex1998-01-111-1/+3
| | | | Obtained from: OpenBSD
* Fixed brk(2) xref.alex1998-01-111-1/+2
| | | | Obtained from: OpenBSD
* Added sys/types.h to synopsis as per POSIX.alex1998-01-111-1/+2
| | | | Obtained from: OpenBSD
* Replace sys/param.h with sys/types.h as per POSIX.alex1998-01-111-1/+9
| | | | | | Document the special case of gidsetlen == 0. Partially obtained from: OpenBSD
* Document that arg max is controllable via sysctl.alex1998-01-111-5/+7
|
* Formatting fix.alex1998-01-111-1/+2
| | | | Obtained from: OpenBSD
OpenPOWER on IntegriCloud