summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* o Document mac_prepare() and associated functionsChris Costello2003-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 Notes: svn path=/head/; revision=109263
* o Remove clause #3Chris Costello2003-01-141-5/+9
| | | | | | | | | o Document mac_set_link(). Sponsored by: DARPA, Network Associates Labs Notes: svn path=/head/; revision=109260
* Back out previous; sharing semaphores between processes only worksTim J. Robbins2003-01-141-8/+16
| | | | | | | in certain special cases. Notes: svn path=/head/; revision=109226
* Sharing semaphores between processes works now, so remove the stale commentsTim J. Robbins2003-01-141-16/+8
| | | | | | | | about it always returning EPERM. Document that ENFILE occurs when the limit on kernel semaphores is reached. Notes: svn path=/head/; revision=109222
* Cross reference sem(4) so users know which kernel options are requiredTim J. Robbins2003-01-145-5/+10
| | | | | | | to use these semaphore functions. Notes: svn path=/head/; revision=109220
* Add the newly created semaphore to the named semaphore list in sem_open()Tim J. Robbins2003-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. Notes: svn path=/head/; revision=109219
* Including <time.h> before <aio.h> has not been necessary for a while now.Tim J. Robbins2003-01-141-1/+0
| | | | Notes: svn path=/head/; revision=109217
* Mention the oddities and requirements for mount operations executed byJoerg Wunsch2003-01-131-3/+16
| | | | | | | | | | | non-root users. PR: docs/42651 Submitted by: Thomas Seck <tmseck@netcologne.de> MFC after: 3 days Notes: svn path=/head/; revision=109186
* Refer to 1003.1 instead of 1003.2 in the Standards section.Tim J. Robbins2003-01-136-6/+6
| | | | Notes: svn path=/head/; revision=109174
* Lock the stream before calling __sfileno() to retrieve the file descriptor.Tim J. Robbins2003-01-131-2/+10
| | | | | | | 1003.1-2001 requires that fileno() behave as if it locks the stream. Notes: svn path=/head/; revision=109155
* Add missing word to "Return Values" section.Tim J. Robbins2003-01-131-0/+1
| | | | Notes: svn path=/head/; revision=109154
* Fix struct iovec documentation to match reality.Mike Barcroft2003-01-122-2/+2
| | | | | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com> Notes: svn path=/head/; revision=109140
* Add a manual page for the lio_listio() syscall. Still needs a bitTim J. Robbins2003-01-122-1/+177
| | | | | | | of polishing. Notes: svn path=/head/; revision=109135
* Implement missing fpgetround() and fpsetround().Marcel Moolenaar2003-01-113-2/+84
| | | | Notes: svn path=/head/; revision=109096
* The macro versions of putc() and putchar() are gone.Tim J. Robbins2003-01-101-9/+3
| | | | Notes: svn path=/head/; revision=109057
* There is no macro version of getc() anymore.Tim J. Robbins2003-01-101-2/+1
| | | | Notes: svn path=/head/; revision=109056
* Bring the list of function-like macros up to date with reality.Tim J. Robbins2003-01-101-28/+20
| | | | Notes: svn path=/head/; revision=109055
* spell multiple correctly.Alfred Perlstein2003-01-101-1/+1
| | | | Notes: svn path=/head/; revision=109051
* Document clearerr_unlocked(), feof_unlocked(), ferror_unlocked()Tim J. Robbins2003-01-102-3/+38
| | | | | | | and fileno_unlocked(). Notes: svn path=/head/; revision=109050
* Add a manual page for flockfile(), ftrylockfile(), and funlockfile().Tim J. Robbins2003-01-102-1/+106
| | | | Notes: svn path=/head/; revision=109047
* Document getc_unlocked(), getchar_unlocked(), putc_unlocked(),Tim J. Robbins2003-01-103-6/+68
| | | | | | | and putchar_unlocked(). Notes: svn path=/head/; revision=109043
* Add function versions of getchar_unlocked(), getc_unlocked(),Tim J. Robbins2003-01-102-1/+96
| | | | | | | | | putchar_unlocked(), putc_unlocked(), feof_unlocked(), ferror_unlocked(), clearerr_unlocked(), and fileno_unlocked(). The first four are required by POSIX. The rest are provided for consistency. Notes: svn path=/head/; revision=109042
* Avoid a memory leak by using reallocf() instead of realloc().Tim J. Robbins2003-01-101-1/+1
| | | | Notes: svn path=/head/; revision=109040
* Prototype __getcwd() to avoid a warning.Tim J. Robbins2003-01-101-0/+2
| | | | Notes: svn path=/head/; revision=109039
* #include <ctype.h> for prototypes (or macro versions) ofTim J. Robbins2003-01-101-0/+1
| | | | | | | tolower() and isdigit(). Notes: svn path=/head/; revision=109038
* #include "namespace.h" to get a prototype for _err().Tim J. Robbins2003-01-071-0/+2
| | | | Notes: svn path=/head/; revision=108868
* Remove an unused variable: mbresult.Tim J. Robbins2003-01-071-1/+0
| | | | Notes: svn path=/head/; revision=108867
* #include <stdlib.h> for free()'s prototype.Tim J. Robbins2003-01-071-0/+1
| | | | Notes: svn path=/head/; revision=108866
* Use hidden names (_close, _dup2, _waitpid, etc.) where appropriate.Tim J. Robbins2003-01-071-22/+22
| | | | Notes: svn path=/head/; revision=108865
* Add waitpid to the list of hidden names for use by wordexp.c and grantpt.c.Tim J. Robbins2003-01-072-2/+2
| | | | Notes: svn path=/head/; revision=108864
* Typo fixes.Giorgos Keramidas2003-01-072-2/+2
| | | | | | | | PR: docs/46815 Submitted by: SUZUKI Koichi <koich@cac.co.jp> Notes: svn path=/head/; revision=108859
* Remove redundant documenation.Tom Rhodes2003-01-061-14/+1
| | | | | | | | PR: 46253 Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl> Notes: svn path=/head/; revision=108844
* strfmon(3) does not correctly handle multibyte characters in theTim J. Robbins2003-01-061-0/+6
| | | | | | | format string. Notes: svn path=/head/; revision=108776
* Note that the printf(3) and scanf(3) family of functions don't deal withTim J. Robbins2003-01-062-2/+14
| | | | | | | multibyte characters in the format string correctly. Notes: svn path=/head/; revision=108775
* Rewrite longjmp() and _longjmp() to directly restore the saved frame,Thomas Moestl2003-01-052-55/+19
| | | | | | | | | | | | instead of unwinding the call stack. This makes them usable to switch stacks, e.g. for libc_r. Do not save the frame pointer in setjmp() and _setjmp(), it is not needed any more. Rename _longjmp() to ___longjmp(), with a weak alias to _longjmp(), like the other architectures did. Notes: svn path=/head/; revision=108738
* Rename siglongjmp() to __siglongjmp(), with a weak alias to siglongjmp(),Thomas Moestl2003-01-051-2/+4
| | | | | | | like the other architectures do. Notes: svn path=/head/; revision=108736
* Use in_addr_t for the right size of an IPv4 address, and copy intoBill Fenner2003-01-051-1/+3
| | | | | | | | | | an unaligned destination using bcopy instead of an assignment. Submitted by: Hartmut Brandt <brandt@fokus.gmd.de> PR: sparc64/46729 Notes: svn path=/head/; revision=108711
* No need to include <assert.h> here.Tim J. Robbins2003-01-054-4/+0
| | | | Notes: svn path=/head/; revision=108694
* strptime(), like strftime(), does not handle multibyte charactersTim J. Robbins2003-01-041-1/+7
| | | | | | | in the format string correctly. Notes: svn path=/head/; revision=108653
* Mention in the BUGS section that strftime() does not handle multibyteTim J. Robbins2003-01-041-1/+7
| | | | | | | characters in the format string correctly. Notes: svn path=/head/; revision=108652
* Fix three warnings:Tim J. Robbins2003-01-041-2/+2
| | | | | | | | | o #include <stdio.h> to make sprintf()'s prototype visible. o Remove unused variable: sbuf. o Don't use assignment as truth value. Notes: svn path=/head/; revision=108646
* style(9): return type on separate line from function name.Tim J. Robbins2003-01-042-2/+4
| | | | Notes: svn path=/head/; revision=108644
* Fix a number of bugs noticed by more extensive testing:Tim J. Robbins2003-01-041-7/+15
| | | | | | | | | | | | | o Call waitpid() if an error occurs after forking the child process to avoid leaving zombies around. o Handle the WRDE_DOOFS|WRDE_APPEND combination correctly o Do not confuse $( substitution with $(( shell arithmetic (noticed by wollman) o Handle backslash escaping properly o Allow $( and ${ to be quoted Notes: svn path=/head/; revision=108641
* Rename UL_GETSIZE to UL_GETFSIZE and UL_SETSIZE to UL_SETFSIZE; these areTim J. Robbins2003-01-042-6/+6
| | | | | | | | the names required by 1003.1-2001. The old names are retained for source compatibility with FreeBSD 5.0 and will be removed before 6.0. Notes: svn path=/head/; revision=108637
* Remove unused variable: sz.Tim J. Robbins2003-01-041-2/+0
| | | | Notes: svn path=/head/; revision=108633
* Remove unused variable: size.Tim J. Robbins2003-01-041-1/+1
| | | | Notes: svn path=/head/; revision=108632
* #include <string.h> for strcmp()'s prototype.Tim J. Robbins2003-01-041-0/+1
| | | | Notes: svn path=/head/; revision=108631
* Remove unused variable: omask.Tim J. Robbins2003-01-041-1/+0
| | | | Notes: svn path=/head/; revision=108630
* #include <sys/linker.h> for kldload()'s prototype.Tim J. Robbins2003-01-041-0/+1
| | | | Notes: svn path=/head/; revision=108629
* #include <string.h> for strlen()'s prototype.Tim J. Robbins2003-01-041-0/+1
| | | | Notes: svn path=/head/; revision=108628