summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) fixes.Ruslan Ermilov2004-07-071-2/+3
| | | | Notes: svn path=/head/; revision=131754
* Move the return value information about the getenv(3) library functionHiten Pandya2004-07-061-4/+10
| | | | | | | | | | | | under the RETURN VALUES section so it is consistent with others. Cleanup the return value text for getenv(3) a little while I am here. PR: docs/58033 MFC after: 3 days Notes: svn path=/head/; revision=131728
* Keep it sync with OpenBSD:Andrey A. Chernov2004-07-061-3/+4
| | | | | | | | | | An optional argument cannot start with '-', even if permutation is disabled. Obtained from: OpenBSD getopt_long.c v1.17 Notes: svn path=/head/; revision=131710
* Document incorrect handling of multibyte characters.Tim J. Robbins2004-07-061-1/+3
| | | | Notes: svn path=/head/; revision=131692
* Add implementations of ftw(3) and nftw(3) and the corresponding headerDavid Schultz2004-07-052-2/+211
| | | | | | | | | | | ftw.h. This is the implementation written by Joel Baker <fenton@debian.org> for inclusion in NetBSD, but with several bugfixes. Obtained from: Debian Notes: svn path=/head/; revision=131661
* Documentation for ftw(3) and nftw(3).David Schultz2004-07-051-0/+210
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=131660
* Fix the NAME section making whatis(1) happy in particular.Ruslan Ermilov2004-07-056-16/+13
| | | | Notes: svn path=/head/; revision=131635
* Markup fixes.Ruslan Ermilov2004-07-053-128/+180
| | | | Notes: svn path=/head/; revision=131611
* Markup nits.Ruslan Ermilov2004-07-0513-70/+91
| | | | Notes: svn path=/head/; revision=131608
* Sort SEE ALSO references (in dictionary order, ignoring case).Ruslan Ermilov2004-07-047-7/+7
| | | | Notes: svn path=/head/; revision=131594
* Add commentary explaining why we return EBADF upon attempts to fflush() aColin Percival2004-07-041-0/+12
| | | | | | | | | read-only file. Discussed on: -current Notes: svn path=/head/; revision=131592
* Consistently use __inline instead of __inline__ as the former is an empty macroStefan Farfeleder2004-07-041-3/+3
| | | | | | | in <sys/cdefs.h> for compilers without support for inline. Notes: svn path=/head/; revision=131575
* Fixed markup.Ruslan Ermilov2004-07-033-13/+14
| | | | Notes: svn path=/head/; revision=131542
* Eliminate double whitespace.Ruslan Ermilov2004-07-0322-45/+48
| | | | Notes: svn path=/head/; revision=131539
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-02143-439/+851
| | | | Notes: svn path=/head/; revision=131504
* Follow previous change in makecontext. Use %esi to store next ucpDavid Xu2004-07-021-1/+1
| | | | | | | | pointer, here we keep orignal %ebp, so we can see where signal handler comes in and interrupt normal code. Notes: svn path=/head/; revision=131501
* Removed trailing whitespace.Ruslan Ermilov2004-07-026-15/+15
| | | | Notes: svn path=/head/; revision=131472
* Markup tidying.Ruslan Ermilov2004-07-026-16/+37
| | | | Notes: svn path=/head/; revision=131465
* Use %esi to store next ucp pointer. Mark end of stack byDavid Xu2004-07-022-3/+4
| | | | | | | | setting %ebp to zero, this avoids new gdb to dump a weird backtrace. Notes: svn path=/head/; revision=131460
* Markup, grammar, and spelling fixes.Ruslan Ermilov2004-06-3020-82/+121
| | | | Notes: svn path=/head/; revision=131365
* Fixed a typo.Ruslan Ermilov2004-06-302-2/+2
| | | | Notes: svn path=/head/; revision=131360
* Fix typo: WRDE_DOOFS -> WRDE_DOOFFS.Tim J. Robbins2004-06-302-5/+5
| | | | | | | Noticed by: Stoned Elipot Notes: svn path=/head/; revision=131331
* s/SS_CANTSENDMORE/SBS_CANTSENDMORE/Roman Kurakin2004-06-241-1/+1
| | | | Notes: svn path=/head/; revision=131047
* Prefix the names of members of _RuneLocale and its sub-structuresTim J. Robbins2004-06-236-87/+90
| | | | | | | | | with ``__'' to avoid polluting the namespace. This doesn't change the documented rune interface at all, but breaks applications that accessed _RuneLocale directly. Notes: svn path=/head/; revision=130961
* Be specific about which socket properties are inherited from the originalBruce M Simpson2004-06-231-10/+13
| | | | | | | | | socket upon accept(2). PR: docs/54995, kern/45733 Notes: svn path=/head/; revision=130950
* Spelling fixes.Mike Pritchard2004-06-212-3/+3
| | | | Notes: svn path=/head/; revision=130873
* Spelling fixes.Mike Pritchard2004-06-211-1/+1
| | | | Notes: svn path=/head/; revision=130871
* Spelling fixes.Mike Pritchard2004-06-211-1/+1
| | | | Notes: svn path=/head/; revision=130869
* Spelling fixes.Mike Pritchard2004-06-212-3/+3
| | | | Notes: svn path=/head/; revision=130867
* Spelling fixes.Mike Pritchard2004-06-216-7/+7
| | | | Notes: svn path=/head/; revision=130865
* PR: docs/67884Mike Pritchard2004-06-211-1/+1
| | | | | | | Submitted by: Chirstopger Nehren <apeiron@comcast.net> Notes: svn path=/head/; revision=130863
* CLOCK_PROF and CLOCK_VIRTUAL are implemented now.Kelly Yancey2004-06-171-7/+1
| | | | Notes: svn path=/head/; revision=130655
* Add reference to mac_get_link() in man page, which was omitted whenRobert Watson2004-06-172-1/+10
| | | | | | | mac_get_link() and mac_set_link() were added. Notes: svn path=/head/; revision=130636
* Rename variable name from `name' to `hostname'.Hajimu UMEMOTO2004-06-161-7/+7
| | | | | | | | | | | | | This is a corresponding change to bin/67994. I'll soon commit bin/67994 into 4-STABLE. Actually, 5-CURRENT's getaddrinfo() doesn't have the problem mentiond in bin/67994. However, it is good to be in sync variable name with 4-STABLE and KAME. PR: bin/67994 Submitted by: JINMEI Tatuya <jinmei@ocean.jinmei.org> Notes: svn path=/head/; revision=130600
* Avoid to touch red zone, in libpthread, ucontext may be saved by kernel'sDavid Xu2004-06-151-1/+1
| | | | | | | | | | get_mcontext, and libpthread will use signalcontext to deliver signal in userland, it looks same as kernel's send_sig does. Reviewed by: deischen, tjr Notes: svn path=/head/; revision=130546
* The maximum value of iovcnt is IOV_MAX, not 16.Kelly Yancey2004-06-151-1/+2
| | | | Notes: svn path=/head/; revision=130505
* Document the location of the header file which declares the functionBruce M Simpson2004-06-141-1/+2
| | | | | | | | | prototypes documented in this manual page. PR: bin/4459 Notes: svn path=/head/; revision=130485
* Date bump.Bruce M Simpson2004-06-141-1/+1
| | | | | | | Requested by: krion Notes: svn path=/head/; revision=130469
* Document some return values.Bruce M Simpson2004-06-141-1/+20
| | | | | | | | PR: bin/22198 Submitted by: Nick Johnson (with cleanups) Notes: svn path=/head/; revision=130468
* Merge changes from the tzcode2004a import. Wherever possible I tried to bringStefan Farfeleder2004-06-145-151/+374
| | | | | | | | | us closer to the vendor branch. Requested by: wollman Notes: svn path=/head/; revision=130461
* Use .Dv instead of .Li for all the RLIMIT_* constants.David Schultz2004-06-141-11/+11
| | | | | | | Requested by: ru Notes: svn path=/head/; revision=130445
* Document RLIMIT_AS. While here, correct an insertion sort error.David Schultz2004-06-131-5/+8
| | | | Notes: svn path=/head/; revision=130437
* Remove a stale reference to %Ef and %EF from a comment.Stefan Farfeleder2004-06-131-2/+2
| | | | Notes: svn path=/head/; revision=130414
* Change defualt time zone from GMT to UTC. This will not be MFC-ed, andKen Smith2004-06-111-1/+6
| | | | | | | was done before 5-STABLE on purpose... Notes: svn path=/head/; revision=130332
* Remove a couple of casts added for an ancient Sun compiler.Stefan Farfeleder2004-06-081-11/+2
| | | | | | | Approved by: das (mentor) Notes: svn path=/head/; revision=130244
* The third operand of the conditional operator should have type void too.Stefan Farfeleder2004-06-082-2/+2
| | | | | | | Approved by: das (mentor) Notes: svn path=/head/; revision=130242
* In fts_build(), if we try to chdir and fail (e.g. due to lack of searchDavid Schultz2004-06-082-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | permission), try to continue in FTS_DONTCHDIR mode. Of course this won't work for long paths, but we can't descend more than one pathname component beyond the directory anyway if we lack search permission. Here is a transcript demonstrating the change, where oldls is ls(1) linked with the old fts(3): das@VARK:~> mkdir t && touch t/{a,b,c} && chmod u-x t das@VARK:~> oldls t a b c das@VARK:~> oldls -l t das@VARK:~> \ls t a b c das@VARK:~> \ls -l t ls: a: Permission denied ls: b: Permission denied ls: c: Permission denied I had forgotten about this patch until bde reminded me. He reports using it without problems for over a year. PR: 45723 Notes: svn path=/head/; revision=130233
* Rename cantwrite() to prepwrite(). The latter is less confusing,David Schultz2004-06-081-4/+1
| | | | | | | | | since the macro isn't really a predicate, and it has side-effects. Also, don't set errno if prepwrite() fails, since this is done in prepwrite() now. Notes: svn path=/head/; revision=130232
* Rename cantwrite() to prepwrite(). The latter is less confusing,David Schultz2004-06-084-5/+6
| | | | | | | since the macro isn't really a predicate, and it has side-effects. Notes: svn path=/head/; revision=130231
* Set errno to EBADF on attempts to write to a stream that is notDavid Schultz2004-06-081-2/+5
| | | | | | | | | | | | writable. Affected callers include fwrite(), put?(), and *printf(). The issue of whether this is the right errno for funopened streams is unresolved, but that's an obscure case, and some errno is better than no errno. Discussed with: bde, jkh Notes: svn path=/head/; revision=130230