summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* link(2) may fail with EPERM if name1 is immutable or append-only.dd2001-10-141-1/+4
| | | | | PR: 31025 Submitted by: Tim Singletary <tsingle@vetinsite.com>
* Make this compile on ia64.dfr2001-10-141-25/+46
|
* Add warning about zeroing-out the socket structure before populating it.dillon2001-10-131-0/+4
|
* Note that strncmp() will not compare characters after a NUL character.mike2001-10-111-1/+8
| | | | | | | Add a missing word. Bump document date. Inspired by: IEEE Std 1003.1-200x (Draft 7) MFC after: 3 days
* Clarify that strnstr() will stop searching after in encounters a NULmike2001-10-111-5/+8
| | | | character. Bump document date. Add a missing comma.
* - Bump document date for eaccess(2) addition.ru2001-10-111-27/+35
| | | | | | | | - Mention ``eaccess'' in the NAME section. - Use intro(2) terminology. - Markup fixes. Reviewed by: rwatson
* Fix SysV Semaphore Handling.mr2001-10-112-27/+124
| | | | | | | | Updated by peter following KSE and Giant pushdown. I've running with this patch for two week with no ill side effects. PR: kern/12014: Fix SysV Semaphore handling Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* Compensate for "Compensate for header dethreading" by backing it out.bde2001-10-105-10/+0
|
* getnetbyaddr() should be serviced by the "networks" database.ru2001-10-101-1/+1
|
* Adjust so that we don't use relocations which can't exist in a shareddfr2001-10-104-5/+10
| | | | library.
* Shorter versions of the byte swapping code.dfr2001-10-102-15/+7
|
* Implement strcasestr() which many others (f.e. Linux) already have.ache2001-10-103-2/+79
|
* Document the fact that the strnstr(3) function is not portable.mike2001-10-091-0/+5
| | | | Requested by: brian, gad
* Don't mangle vendor ids to put them in __RCSID. Just ifdef all vendormike2001-10-091-1/+6
| | | | | | id cruft. Submitted by: bde
* Add a new libc function, strnstr(3), which allows one to limit themike2001-10-093-11/+122
| | | | | | | | number of characters that are searched. This is especially useful with file operations and non-NUL terminated strings. Silence from: -audit, -hackers MFC after: 5 days
* Make this work on ia64. I have no idea why it works on alpha - itdfr2001-10-061-1/+7
| | | | shouldn't.
* Fix a load of dependancy violations.dfr2001-10-052-7/+7
|
* Add compatibility functions for the AF_LOCAL RPC transport stuffwpaul2001-10-043-0/+235
| | | | | that used to live in RPC 4.0. This is needed for yppasswd and rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp.
* Hopefully improve control message passing over Unix domain sockets.dwmalone2001-10-042-14/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Allow the sending of more than one control message at a time over a unix domain socket. This should cover the PR 29499. 2) This requires that unp_{ex,in}ternalize and unp_scan understand mbufs with more than one control message at a time. 3) Internalize and externalize used to work on the mbuf in-place. This made life quite complicated and the code for sizeof(int) < sizeof(file *) could end up doing the wrong thing. The patch always create a new mbuf/cluster now. This resulted in the change of the prototype for the domain externalise function. 4) You can now send SCM_TIMESTAMP messages. 5) Always use CMSG_DATA(cm) to determine the start where the data in unp_{ex,in}ternalize. It was using ((struct cmsghdr *)cm + 1) in some places, which gives the wrong alignment on the alpha. (NetBSD made this fix some time ago). This results in an ABI change for discriptor passing and creds passing on the alpha. (Probably on the IA64 and Spare ports too). 6) Fix userland programs to use CMSG_* macros too. 7) Be more careful about freeing mbufs containing (file *)s. This is made possible by the prototype change of externalise. PR: 29499 MFC after: 6 weeks
* Include <string.h> to prototype strcpy(3). While I'm here, make usemike2001-10-041-3/+4
| | | | | | of the new RCSID macros. MFC after: 3 days
* Fixed various type errors in synopsis.bde2001-10-031-7/+7
|
* Fixed bitrot in synopsis. The TI-RPC changes gave mounds of it, mainlybde2001-10-0310-31/+33
| | | | | inconsistently weird const poisoning in the man pages relative to the headers.
* Fixed missing `const' in synopsis.bde2001-10-031-1/+1
|
* Fixed return type in synopsis.bde2001-10-031-1/+1
|
* Avoid getting stuck in system(3) when the internal call to wait4()alfred2001-10-031-2/+3
| | | | | | | | | | is interrupted by saving the pid. The old code would assign the return value to pid which would trash it, to fix the problem save a copy of the pid to be used as the paramter to wait4(). Submitted by: Toshihiko ARAI <toshi@jp.FreeBSD.org>
* Fixed syntax errors in synopsis. The restrict keyword doesn't exist yet.bde2001-10-031-5/+5
| | | | | | The corresponding bugs in <wchar.h> have no effect because the function prototypes there don't have args so the __restrict "keyword" is misinterpreted as an arg.
* Fixed misspelled arg type in synopsis.bde2001-10-031-1/+1
|
* Fixed missing include in synopsis.bde2001-10-031-0/+1
|
* - cope with sa_len < sizeof(struct sockaddr).ume2001-10-021-35/+44
| | | | | | | | From: Patrik Lindergren <patrik@datacom.nu> - delint (pointer cast issue). from netbsd-current Obtained from: KAME MFC after: 1 week
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-01420-643/+643
|
* mdoc(7) police: don't split author names in the AUTHORS section.ru2001-10-011-0/+1
|
* mdoc(7) police: s/atof/atoi/ru2001-10-011-1/+1
|
* Add __FBSDID()s to libutildillon2001-09-301-2/+4
|
* Add ERRORS section.asmodai2001-09-261-1/+18
| | | | | | | | Mention thread safety and async-cancel safety status [not]. Add standards compliancy references. Note strtol() is preferred over atoi(). MFC after: 2 weeks
* Be explicit about the POSIX version it conforms to [in this case 1990].asmodai2001-09-261-5/+5
| | | | Put the error comment under the more appropriate ERRORS section.
* Change standards compliancy order so that C and POSIX are grouped.asmodai2001-09-261-1/+1
|
* - Correct capitalization of a function name.murray2001-09-241-2/+3
| | | | | | | | - Add a missing word to form a complete sentence. PR: docs/30626 Submitted by: Dan Lukes <dan@obluda.cz>, and swear@blarg.net (Gary W. Swearingen)
* Note that strdup(3) will set errno if memory allocation fails. Thismike2001-09-231-1/+4
| | | | | | is also required by the forthcoming POSIX.1-200x standard. Obtained from: malloc.3
* Fix a whole bunch of dependancy bugs and make it actually work when thedfr2001-09-221-7/+10
| | | | size is not a multiple of eight.
* Fix byte swapping - it was totally broken.dfr2001-09-222-5/+6
|
* o Modify access(2) man page to describe eaccess(2), and add a symlinkrwatson2001-09-212-4/+20
| | | | | | so man eaccess will return the access(2) man page. Obtained from: TrustedBSD Project
* Document the FTS_ROOTPARENTLEVEL and FTS_ROOTLEVEL constants.ru2001-09-201-5/+9
|
* First appeared in 5.0, not in 4.4ache2001-09-171-1/+1
|
* style(9)mike2001-09-171-62/+56
| | | | Silence from: phantom
* Typo: s/conatains/contains/guido2001-09-121-1/+1
| | | | MFC after: 1 week
* mdoc(7) police: changed pure POSIX text; added missing markup bits.ru2001-09-112-8/+12
|
* mdoc(7) police: removed commas from the standard (split) AUTHORS block.ru2001-09-111-3/+3
|
* Add more standards which we conform to.asmodai2001-09-091-1/+18
| | | | | | Note our implementation is not thread nor async-cancel safe. Explicitely note atof() does not check nor report errors. Note that strtod() should be used instead.
* Detail thread-safe and async-cancel-safe status.asmodai2001-09-091-0/+10
| | | | | | Also add C99 conformity status plus clarification that C99 leaves the flushing of unwritten data, closure of open streams, and removal of temporary files to the implementation.
* 1) If __SAPP stream is not seekable, remove __SAPP flag on first call insteadache2001-09-071-3/+10
| | | | | | | | | of repeating unsuccessful lseek call on each write (original stdio bug). 2) Save errno accross _sseek call in _swrite to not touch it in case write success (original stdio bug). 3) Add _sseek error checking back, but only for __SOPT mode now.
OpenPOWER on IntegriCloud