summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Fix signed/unsigned comparison warnings.mbr2003-01-271-3/+3
| | | | | Reviewed by: phk Obtained from: NetBSD
* Fix signed/unsigned comparison warnings. Fix spelling error inmbr2003-01-271-4/+5
| | | | | | | | | comment. NetBSD Rev. 1.9 and 1.7 Reviewed by: phk Obtained from: NetBSD
* Make this work in the !INET6 case -- if we mismatch the AF, don't return ambr2003-01-271-9/+10
| | | | | | | | | | bogus (uninitialized) structure. Also, ignore v4 ifa's with no broadcast address (rather than core dumping). NetBSD Rev 1.8 Reviewed by: phk Obtained from: NetBSD
* Check pmap_flag before sendto.mbr2003-01-271-1/+2
| | | | | | | NetBSD r 1.5 Reviewed by: phk Obtained from: NetBSD
* Make sure we don't look before the beginning of the string.mbr2003-01-271-2/+2
| | | | | | | NetBSD Rev 1.5 Reviewed by: phk Obtained from: NetBSD
* Add missing __rpc_fixup_addr. This is needed to makembr2003-01-271-0/+3
| | | | | | | | | mount_nfs -T work for scoped addresses. NetBSD Rev 1.11 Reviewed by: phk Obtained from: NetBSD
* Free the correct buffer in error handling.mbr2003-01-271-1/+3
| | | | | | | | | Handle that malloc may return NULL. NetBSD Rev. 1.8 Reviewed by: phk Obtained from: NetBSD
* Reset the record lenght and received bytes once a recordmbr2003-01-271-0/+9
| | | | | | | | | | is finished. This fixes clients doing two RPCs over the same connection at the same time. Without this fix, we could end with a reply to old data. Submitted by: Frank van der Linden <fvdl@netbsd.org> Reviewed by: rwatson Obtained from: NetBSD
* Fix namespace pollution introduced in previous commit.mbr2003-01-262-5/+5
| | | | Reviewed by: phk
* Add const qualifier to data argument for msgsnd.alfred2003-01-261-1/+1
| | | | | PR: standards/45274 Submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Remove part of my stateful locale patch that slipped into the previous rev.tjr2003-01-261-3/+0
|
* Initial implementation of the C99 feature whereby calling freopen() withtjr2003-01-262-2/+94
| | | | | | | | | | a NULL filename argument allows a stream's mode to be changed. At the moment it just recycles the old file descriptor instead of storing the filename somewhere and using that to reopen the file, as the standard seems to require. Strictly conforming C99 applications probably can't tell the difference but POSIX ones can. PR: 46791
* Bring shm functions closer the the opengroup standards.alfred2003-01-252-3/+3
| | | | | PR: 47469 Submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Bring semop() closer the the opengroup standards.alfred2003-01-251-1/+1
| | | | | PR: 47471 Submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Add an MLINK malloc.conf(5) -> malloc(3).mike2003-01-241-1/+2
|
* For "sensitive" processes, we always set the 'A' flag which causes abort()phk2003-01-231-0/+7
| | | | | | | | | | | | | to be called on first sight of trouble. "sensitive" is somewhat arbitrarily defined as "setuid, setgid, uid == root or gid == wheel". The 'A' option carries no performance penalty. It is not possible to override this setting: fix the program instead. Absentmindedly nodded OK to by: various
* Remove EOL whitespaces.maxim2003-01-201-2/+2
|
* o Fix a typo.maxim2003-01-201-2/+3
| | | | | | o Prepend a function name by .Fn macro. Reviewed by: archie
* Sync with NetBSD -- sl_add() now returns an int.obrien2003-01-192-9/+23
|
* Use __FBSDID.obrien2003-01-1928-42/+66
|
* We don't need our own personal definition of __CONCAT.obrien2003-01-181-4/+1
|
* Document that listen() can return EINVAL now.tmm2003-01-171-0/+2
|
* Do a better job of documenting mincore(2), esp. the MINCORE_* flags.tjr2003-01-171-14/+46
|
* Fix memleak.mbr2003-01-161-2/+8
| | | | | Reviewed by: rwatson MFC after: 2 weeks
* Implement non-blocking tcp-connections.mbr2003-01-165-62/+437
| | | | | | Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day
* realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX.johan2003-01-152-9/+9
| | | | | | | | This also reverts the PATH_MAX -> MAXPATHLEN part of rev 1.3 of src/bin/realpath/realpath.c Requested by: imp Reviewed by: imp, bde
* Add a missing word.tjr2003-01-151-1/+1
|
* Document the named semaphore functions. This could still use a bittjr2003-01-151-18/+165
| | | | of polishing.
* Actually add mac_prepare.3.chris2003-01-151-0/+85
| | | | Sponsored by: DARPA, Network Associates Laboratories
* Cross-reference mac(4)chris2003-01-155-0/+5
| | | | Sponsored by: DARPA, Network Associates Laboratories
* s/SEE_ALSO/SEE ALSO/chris2003-01-152-2/+5
| | | | | | Cross-reference mac(4) and mac(9) Sponsored by: DARPA, Network Associates Laboratories
* o Document mac_prepare() and associated functionschris2003-01-158-33/+61
| | | | | | | | | | o Link mac_get_pid.3 to mac_get.3 o Update SEE ALSO to refer to mac_prepare, and added missing references o Remove clause #3 on my work o Update mac_get.3 for the updated MAC API Sponsored by: DARPA, Network Associates Laboratories Obtained from: TrustedBSD Project
* o Remove clause #3chris2003-01-141-5/+9
| | | | | | o Document mac_set_link(). Sponsored by: DARPA, Network Associates Labs
* Back out previous; sharing semaphores between processes only workstjr2003-01-141-8/+16
| | | | in certain special cases.
* Sharing semaphores between processes works now, so remove the stale commentstjr2003-01-141-16/+8
| | | | | about it always returning EPERM. Document that ENFILE occurs when the limit on kernel semaphores is reached.
* Cross reference sem(4) so users know which kernel options are requiredtjr2003-01-145-5/+10
| | | | to use these semaphore functions.
* Add the newly created semaphore to the named semaphore list in sem_open()tjr2003-01-142-2/+4
| | | | | | so that multiple opens of the same semaphore without an intervening sem_close() return the same object, and so that sem_close() does not segfault while trying to remove the item from the list.
* Including <time.h> before <aio.h> has not been necessary for a while now.tjr2003-01-141-1/+0
|
* Mention the oddities and requirements for mount operations executed byjoerg2003-01-131-3/+16
| | | | | | | | non-root users. PR: docs/42651 Submitted by: Thomas Seck <tmseck@netcologne.de> MFC after: 3 days
* Refer to 1003.1 instead of 1003.2 in the Standards section.tjr2003-01-136-6/+6
|
* Lock the stream before calling __sfileno() to retrieve the file descriptor.tjr2003-01-131-2/+10
| | | | 1003.1-2001 requires that fileno() behave as if it locks the stream.
* Add missing word to "Return Values" section.tjr2003-01-131-0/+1
|
* Fix struct iovec documentation to match reality.mike2003-01-122-2/+2
| | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Add a manual page for the lio_listio() syscall. Still needs a bittjr2003-01-122-1/+177
| | | | of polishing.
* Implement missing fpgetround() and fpsetround().marcel2003-01-113-2/+84
|
* The macro versions of putc() and putchar() are gone.tjr2003-01-101-9/+3
|
* There is no macro version of getc() anymore.tjr2003-01-101-2/+1
|
* Bring the list of function-like macros up to date with reality.tjr2003-01-101-28/+20
|
* spell multiple correctly.alfred2003-01-101-1/+1
|
* Document clearerr_unlocked(), feof_unlocked(), ferror_unlocked()tjr2003-01-102-3/+38
| | | | and fileno_unlocked().
OpenPOWER on IntegriCloud