summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Fixed various type errors in synopsis.Bruce Evans2001-10-031-7/+7
| | | | Notes: svn path=/head/; revision=84426
* Fixed bitrot in synopsis. The TI-RPC changes gave mounds of it, mainlyBruce Evans2001-10-0310-31/+33
| | | | | | | | inconsistently weird const poisoning in the man pages relative to the headers. Notes: svn path=/head/; revision=84425
* Fixed missing `const' in synopsis.Bruce Evans2001-10-031-1/+1
| | | | Notes: svn path=/head/; revision=84423
* Fixed return type in synopsis.Bruce Evans2001-10-031-1/+1
| | | | Notes: svn path=/head/; revision=84422
* Avoid getting stuck in system(3) when the internal call to wait4()Alfred Perlstein2001-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> Notes: svn path=/head/; revision=84417
* Fixed syntax errors in synopsis. The restrict keyword doesn't exist yet.Bruce Evans2001-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. Notes: svn path=/head/; revision=84398
* Fixed misspelled arg type in synopsis.Bruce Evans2001-10-031-1/+1
| | | | Notes: svn path=/head/; revision=84391
* Fixed missing include in synopsis.Bruce Evans2001-10-031-0/+1
| | | | Notes: svn path=/head/; revision=84390
* - cope with sa_len < sizeof(struct sockaddr).Hajimu UMEMOTO2001-10-021-35/+44
| | | | | | | | | | | From: Patrik Lindergren <patrik@datacom.nu> - delint (pointer cast issue). from netbsd-current Obtained from: KAME MFC after: 1 week Notes: svn path=/head/; revision=84372
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-01420-643/+643
| | | | Notes: svn path=/head/; revision=84306
* mdoc(7) police: don't split author names in the AUTHORS section.Ruslan Ermilov2001-10-011-0/+1
| | | | Notes: svn path=/head/; revision=84298
* mdoc(7) police: s/atof/atoi/Ruslan Ermilov2001-10-011-1/+1
| | | | Notes: svn path=/head/; revision=84280
* Add __FBSDID()s to libutilMatthew Dillon2001-09-301-2/+4
| | | | Notes: svn path=/head/; revision=84225
* Add ERRORS section.Jeroen Ruigrok van der Werven2001-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 Notes: svn path=/head/; revision=83982
* Be explicit about the POSIX version it conforms to [in this case 1990].Jeroen Ruigrok van der Werven2001-09-261-5/+5
| | | | | | | Put the error comment under the more appropriate ERRORS section. Notes: svn path=/head/; revision=83973
* Change standards compliancy order so that C and POSIX are grouped.Jeroen Ruigrok van der Werven2001-09-261-1/+1
| | | | Notes: svn path=/head/; revision=83967
* - Correct capitalization of a function name.Murray Stokely2001-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) Notes: svn path=/head/; revision=83869
* Note that strdup(3) will set errno if memory allocation fails. ThisMike Barcroft2001-09-231-1/+4
| | | | | | | | | is also required by the forthcoming POSIX.1-200x standard. Obtained from: malloc.3 Notes: svn path=/head/; revision=83847
* Fix a whole bunch of dependancy bugs and make it actually work when theDoug Rabson2001-09-221-7/+10
| | | | | | | size is not a multiple of eight. Notes: svn path=/head/; revision=83822
* Fix byte swapping - it was totally broken.Doug Rabson2001-09-222-5/+6
| | | | Notes: svn path=/head/; revision=83821
* o Modify access(2) man page to describe eaccess(2), and add a symlinkRobert Watson2001-09-212-4/+20
| | | | | | | | | so man eaccess will return the access(2) man page. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=83797
* Document the FTS_ROOTPARENTLEVEL and FTS_ROOTLEVEL constants.Ruslan Ermilov2001-09-201-5/+9
| | | | Notes: svn path=/head/; revision=83722
* First appeared in 5.0, not in 4.4Andrey A. Chernov2001-09-171-1/+1
| | | | Notes: svn path=/head/; revision=83569
* style(9)Mike Barcroft2001-09-171-62/+56
| | | | | | | Silence from: phantom Notes: svn path=/head/; revision=83559
* Typo: s/conatains/contains/Guido van Rooij2001-09-121-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=83371
* mdoc(7) police: changed pure POSIX text; added missing markup bits.Ruslan Ermilov2001-09-112-8/+12
| | | | Notes: svn path=/head/; revision=83328
* mdoc(7) police: removed commas from the standard (split) AUTHORS block.Ruslan Ermilov2001-09-111-3/+3
| | | | Notes: svn path=/head/; revision=83327
* Add more standards which we conform to.Jeroen Ruigrok van der Werven2001-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. Notes: svn path=/head/; revision=83256
* Detail thread-safe and async-cancel-safe status.Jeroen Ruigrok van der Werven2001-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. Notes: svn path=/head/; revision=83254
* 1) If __SAPP stream is not seekable, remove __SAPP flag on first call insteadAndrey A. Chernov2001-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. Notes: svn path=/head/; revision=83211
* Move to using .In instead of .Fd #include <> for include mark-up.Jeroen Ruigrok van der Werven2001-09-0727-39/+39
| | | | | | | Inspired by comment from: dd Notes: svn path=/head/; revision=83206
* reconnect strfmon.c to build listAlexey Zelkin2001-09-071-1/+1
| | | | Notes: svn path=/head/; revision=83205
* Fix some mdoc nits caused by my knowledge not being too up-to-date onJeroen Ruigrok van der Werven2001-09-071-9/+12
| | | | | | | | | mdocNG. Submitted by: dd Notes: svn path=/head/; revision=83203
* Port to ia64, taking into account the fact that pagesizes may be variable.Doug Rabson2001-09-071-0/+11
| | | | Notes: svn path=/head/; revision=83202
* Add strfmon.3 to the fray.Jeroen Ruigrok van der Werven2001-09-072-1/+89
| | | | | | | | | | | This is a first cut, but enough to help people interested in using it further than before. More text coming to illustrate use and provide more details. Based on standards' text. Notes: svn path=/head/; revision=83194
* For now just back out seek error checking in __SAPP case, it cause problemsAndrey A. Chernov2001-09-071-2/+2
| | | | | | | | | with non-seekable streams. Now here is what here was originally, but it is ugly, producing unneded seek syscall on each non-seekable stream write. I'll think about proper solution later. Notes: svn path=/head/; revision=83177
* Fix all the ambiguous or erroneous statements of the brk(2)Yaroslav Tykhiy2001-09-061-55/+87
| | | | | | | | | | | manpage by taking its text from NetBSD and editing it further. This also improves the page's mdoc(7) markup style. Reviewed by: ru Obtained from: NetBSD Notes: svn path=/head/; revision=83148
* correctly wrap macros with { }Alexey Zelkin2001-09-061-2/+3
| | | | Notes: svn path=/head/; revision=83139
* strfmon(3) is not ready to go live.David E. O'Brien2001-09-061-1/+1
| | | | Notes: svn path=/head/; revision=83137
* Add strfmon(3) implementation. It still contains few XXX's because I lostAlexey Zelkin2001-09-052-3/+618
| | | | | | | | | | | | my last version of this work due to HDD crash, but this version cleanly passed all POSIX and SuSv2 tests. I am working on testing scripts which should test this implementation against all locales and surely more fixes will come soon. Reviewed by: ache, silence at -audit & -developers Notes: svn path=/head/; revision=83104
* mdoc(7) police: markup and minor content fixes.Ruslan Ermilov2001-09-052-73/+61
| | | | | | | | | | | | | | | o Removed whitespace at EOL o Removed hard sentence breaks o Added cap_size() to the NAME section o Normalized .Nd descriptions o Fixed the abuses of .Nm and .Va o Fixed some DESCRIPTION texts o Fixed the RETURN VALUES and ERRORS texts to look more traditional Reviewed by: tmm Notes: svn path=/head/; revision=83079
* Add Thomas Moestl and Chris Faulhaber to the author list for POSIX.1eRobert Watson2001-09-051-0/+2
| | | | | | | | | support. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=83050
* Portability fix: use unsigned cast to guaranteed positive part of expressionAndrey A. Chernov2001-09-042-2/+2
| | | | | | | | in case {L}LONG_MAX > abs({L}LONG_MIN). Non-functional change - we don't have any such platforms. Notes: svn path=/head/; revision=83024
* Remove rcsids and unneded includeAndrey A. Chernov2001-09-046-34/+12
| | | | Notes: svn path=/head/; revision=82995
* 'acc' is not initialized in one hypotetical case, fix itAndrey A. Chernov2001-09-044-8/+8
| | | | Notes: svn path=/head/; revision=82982
* Locale *is* used in strto*l*(), at least for isspace(), so removeAndrey A. Chernov2001-09-048-58/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'locale not used' statement from comments and BUGS section of manpage. strtol(): fix non-portable 'cutoff' calculation using the same method as in strtoll(). Cleanup 'cutoff' calculation, remove unneded casts. Misc. cleanup to make all functions looks the same. Implement EINVAL reaction per POSIX, document it in manpage, corresponding POSIX example quotes here: ------------------------------------------------ If the subject sequence is empty or does not have the expected form, no conversion is performed; the value of str is stored in the object pointed to by endptr, provided that endptr is not a null pointer. If no conversion could be performed, 0 shall be returned and errno may be set to [EINVAL]. [EINVAL] The value of base is not supported. Since 0, {LONG_MIN} or {LLONG_MIN}, and {LONG_MAX} or {LLONG_MAX} are returned on error and are also valid returns on success, an application wishing to check for error situations should set errno to 0, then call strtol( ) or strtoll ( ), then check errno. ----------------------------------------------------- Notes: svn path=/head/; revision=82975
* Implement _setjmp()/_longjmp().Doug Rabson2001-09-041-125/+345
| | | | | | | Obtained from: Intel's EFI toolkit Notes: svn path=/head/; revision=82936
* This does not describe sched_{get,set}scheduler.Dima Dorfman2001-09-031-2/+3
| | | | | | | | PR: 26001 Submitted by: OHSAWA Chitoshi <ohsawa@catv1.ccn-net.ne.jp> Notes: svn path=/head/; revision=82881
* Don't capitalize jail(2) in the middle of a sentence.Dima Dorfman2001-09-031-1/+1
| | | | | | | | PR: 25876 Submitted by: Koizumi Satoru <koizumi@cms.phys.s.u-tokyo.ac.jp> Notes: svn path=/head/; revision=82880
* PT_STEP in ptrace(2) man page is described as 'addr and data fieldsMurray Stokely2001-09-031-3/+3
| | | | | | | | | | | | are not used'. This is incorrect, as addr must be passed (caddr_t)1 to do anything useful. The source for gdb and a short test program will confirm that this man page was in error. PR: docs/27758 Submitted by: Jiangyi Liu <jyliu@163.net> Notes: svn path=/head/; revision=82862