summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Grammar.ru2006-12-041-1/+1
| | | | OK'ed by: sam
* document recent change to return ECONNRESET for tcp socketssam2006-12-041-1/+4
| | | | MFC after: 1 month
* Use _kevent() instead of kevent().ume2006-12-041-7/+7
| | | | Requested by: nork
* Minor clarification.dds2006-12-031-1/+1
|
* o As POSIX requires confstr(3) returns zero on errors, not -1.maxim2006-12-031-2/+2
| | | | | | PR: misc/106234 Submitted by: Guy Harris MFC after: 1 week
* Note that, thanks to the work by Alan Cox et al, some arch'esyar2006-11-241-2/+19
| | | | | | | | | don't need sendfile() buffers any more. The report on the work referenced can be found at http://usenix.org/events/usenix05/tech/general/elmeleegy.html MFC after: 1 week
* Document that the data field for NOTE_EXIT holds the process exit status.jhb2006-11-201-0/+2
| | | | | Submitted by: Jared Yanovich -phirerunner at comcast.net- MFC after: 2 weeks
* Add an entry for PT_GETLWPLIST.trhodes2006-11-091-1/+3
| | | | | Nudged by: jhb Reviewed by: davidxu
* Cleanup: we always have to use __error() now, and we shouldn't provide acognet2006-11-092-58/+1
| | | | | | errno symbol, so completely remove the !_REENTRANT case. Spotted out by: ru
* Remove a forgotten file.ru2006-11-081-4/+0
|
* Instead of re-implementing hton[ls] and friends for each arch, add a new MIcognet2006-11-0632-1223/+34
| | | | | | | file, net/ntoh.c, which just implement them using the inline functions from <sys/endian.h>. Suggested by: bde
* Provide definitions suitable for arm big-endian.cognet2006-11-061-0/+5
|
* Remove sys/uio.h include -- this is no longer required by the extattrrwatson2006-11-061-1/+0
| | | | | | system call API. MFC after: 3 weeks
* Document return values for res_query and res_search.lawrance2006-11-042-3/+17
| | | | | | | | | h_errno is not an extern int, just a macro providing an integer lvalue. PR: doc/50573 Submitted by: Ronald F.Guilmette <rfg@monkeys.com> Reviewed by: trhodes MFC after: 3 days
* - clock_gettime is in time.h instead of sys/time.hdanger2006-11-041-3/+3
| | | | | | Approved by: trhodes (mentor), keramida (mentor) PR: docs/104707 MFC-after: 3 days
* - change ABI for user trap handler for sun4v (eventually will sync sparc64 nokmacy2006-11-032-0/+7
| | | | | | hardware set up to test at the moment) Approved by: scottl (standing in for mentor rwatson)
* Replace the SEE ALSO xrefs with a more reasonable set stolen from POSIX.ru2006-11-021-2/+7
|
* Document MNT_GJOURNAL option.pjd2006-11-011-1/+4
|
* Backed out rev.1.10 (a special case for amd64). The amd64 mcount codebde2006-10-281-6/+0
| | | | never needed any frame pointers for itself.
* Add missing markup bits.ru2006-10-281-1/+3
| | | | Submitted by: Emil Mikulic
* Merge res_send.c of BIND9 9.3.3rc2 into main chunk. It includesume2006-10-241-6/+7
| | | | | | | | | | following fix: Retransmission timeouts should be based on which attempt it is to the nameserver and not the nameserver itself. Obtained from: ISC MFC after: 3 days
* Revert the rev. 1.4, it causes breakage on most arches except i386.kib2006-10-231-4/+1
| | | | | | | | | Remove the const qualifier from ap argument for __v2printf, that induced that breakage, and seems to be the real reason for bad code. ap is modified inside the __v2printf body by va_arg macro. Pointy hat to: kib Approved by: pjd (mentor)
* Minor markup fix: A comma should be seperated by space from macrosimon2006-10-211-1/+1
| | | | | | | argument. This resulted in "pwritev,()" instead of the intended "pwritev()," in the output. MFC after: 3 days
* Avoid a potential hard sentence break.ru2006-10-211-1/+1
|
* Workaround for (what seems to be) compiler error for gcc 3.4.6. Onkib2006-10-211-1/+4
| | | | | | | | | | | | | i386 with default optimization level (-O2), va_list pointer ap in the __v2printf function is advanced before the use. That cause argument shift and garbage instead last argument in printf-family when xprintf is activated. The nsswitch is easy victim of the bug. Reviewed by: kan Approved by: kan (mentor) MFC after: 1 week
* file == NULL:ache2006-10-161-9/+14
| | | | | | | | | | | | | Issue __sflush() before possible setting O_APPEND mode or ftruncate(), write to wrong place may occurse oserwise. Use simplified _sseek() to the start, if no O_APPEND is set, instead of _fseeko() (_sseek() to the end, if O_APPEND, occurse later, as for file != NULL). Don't check seek error return, as original fopen() and freopen() never does. file != NULL: Add missing _sseek() to the end.
* Honor errno obtained from __sflagsache2006-10-161-1/+3
| | | | Move errno restoring after FUNLOCKFILE in one case
* Back out ftruncate error handling. There can some file tipesache2006-10-161-9/+2
| | | | f.e. sockets when ftruncate normally fail.
* Do real seekache2006-10-151-3/+11
| | | | | | | Catch ftruncate errors PR: 104295 Submitted by: ru (seek)
* Forgot to bump the document date.ru2006-10-131-1/+1
|
* Some word smithing adopted from the PR.ru2006-10-131-14/+14
| | | | | | | PR: docs/54451 Originally by: Andreas Fuchs Adopted by: jhb MFC after: 3 days
* Add missing comma.ru2006-10-131-1/+1
|
* Use normal parentheses.ru2006-10-121-5/+5
| | | | | | PR: docs/84549 Submitted by: Gary W. Swearingen MFC after: 3 days
* Don't say "rightmost" when referring to the least significant bit.ru2006-10-121-4/+5
| | | | | PR: docs/94803 MFC after: 3 days
* More accurately document the implementation details of internal storage.ru2006-10-122-21/+23
| | | | PR: docs/82508
* Link select(2) to FD_CLR(3), FD_ISSET(3), FD_SET(3), and FD_ZERO(3).ru2006-10-121-0/+2
| | | | | PR: docs/57974 MFC after: 3 days
* Document S_IRWXU and permission bits for group/other.ru2006-10-121-2/+11
| | | | | PR: docs/57153 MFC after: 3 days
* Document what "msgsz" argument really denotes. [1]ru2006-10-121-4/+9
| | | | | | | | Don't say that "msgsz" can be less than 0, it cannot as it's unsigned (POSIX has the same bug). PR: docs/101145 [1] MFC after: 3 days
* Note that the value from getenv() should not be modified by applications.trhodes2006-10-121-1/+5
| | | | | PR: 60544 Reviewed by: ru
* fix bus error in newsyslog by making sure that fields in struct fpemukmacy2006-10-121-0/+1
| | | | that are accessed as 8 byte quantities are 8 byte aligned
* o Follow the trend and try to explain what the slow device is.maxim2006-10-111-3/+5
| | | | | | Not ideal but better than nothing. Obtained from: OpenBSD, NetBSD
* o From kern_prot.c::p_cansignal():maxim2006-10-101-2/+2
| | | | | | | | | | | | UNIX signalling semantics require that processes in the same session always be able to deliver SIGCONT to one another, overriding the remaining protections. Fix SIGCONT special case description similar to rev. 1.22 kill.2. PR: docs/58710 Submitted by: Ryan Younce MFC after: 2 weeks
* Fix TLS on sparc64 for statically and dynamically linked binarieskmacy2006-10-082-3/+11
| | | | | Approved by: rwatson (mentor) Reviewed by: jmg and marcel
* getenv.3: Put "is" on a line with other wordstrhodes2006-10-072-3/+3
| | | | | | | | getobjformat.3: "takes precedence over" is not an envrionment variable. PR: 75545 Submitted by: n-kogane@syd.odn.ne.jp MFC after: 3 days
* Reword previous delta a little bit.trhodes2006-10-071-14/+8
| | | | Submitted by: ru
* Fix ambiguity in description. Note that the aio_return() system call shouldtrhodes2006-10-071-5/+9
| | | | | | | only be called once after failure or completion of an AIO request. Bump doc date while I'm here. Noticed by: Samy Al Bahra
* Add missing word "returns."trhodes2006-10-071-1/+1
| | | | Noticed by: Samy Al Bahra
* Automatically re-stir every 400000 callsache2006-10-041-2/+4
| | | | Obtained from: OpenBSD
* Revise markup in recently added manpages.ru2006-09-304-46/+51
|
* Fix markup, language, function prototype, and example code.ru2006-09-301-35/+49
|
OpenPOWER on IntegriCloud