summaryrefslogtreecommitdiff
path: root/lib/libc/sys
AgeCommit message (Collapse)Author
2014-12-08Add chflagsat(), modeled on fchmodat() with name to match FreeBSD.Philip Guenther
2014-12-04obvious cases of missing NAME .Nm entriesIngo Schwarze
2014-11-30Fix a minor documentation bug: When given the old real ID unchanged,Ingo Schwarze
it is assigned to the saved ID even if no new effective ID is given, but the existing effective ID differs from the saved ID. Update STANDARDS and purge the redundant CAVEATS section. OK millert@ jmc@, no objections from tedu@
2014-11-30update STANDARDS; ok millert@ jmc@Ingo Schwarze
2014-11-30Replace all 14 instances of .St -ansiC-99 in our tree with .St -isoC-99.Ingo Schwarze
The former is not used anywhere in NetBSD, FreeBSD, or DragonFly and not supported by groff, so i'm going to delete it from mandoc(1). We don't need two macros for the same thing.
2014-11-30move the description of flags from the SYNOPSIS to the DESCRIPTION;Ingo Schwarze
from <kaspars at bankovskis dot net>, minimally tweaked by me; ok guenther@ jmc@
2014-11-25macro and typo fixes from kaspars at bankovskis dot netIngo Schwarze
2014-11-20Be more POSIXy by using blksize_t (a.k.a. int32) for st_blksize, rather than ↵Kenneth R Westerback
the current uint32_t. ok guenther@ deraadt@
2014-11-20oops. malloc is in section 3.Ted Unangst
2014-11-20sbrk is long dead. clarify that the data segment is malloc and anon mmap.Ted Unangst
2014-11-17When listing the async-signal-safe functions, don't split out "ANSI C"Philip Guenther
functions; the concept comes from POSIX anyway. With tweaks from schwarze@ ok deraadt@, jmc@, millert@, schwarze@
2014-11-16zap some wacky Eo/Ec stuff, and start sentences on new lines; ok schwarzeJason McIntyre
2014-11-15Delete some unnecessary #includesPhilip Guenther
2014-11-15Per POSIX, we now only require <sys/msg.h>, <sys/sem.h>, or <sys/shm.h>Philip Guenther
2014-11-15Reduce instances of `` '' in manuals.Anthony J. Bentley
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@
2014-11-14Add sched_yield(2) manpagePhilip Guenther
2014-11-05zap double word;Jason McIntyre
2014-11-05Convert EXAMPLES to IDIOMS and make it a simple select -> pollTodd C. Miller
conversion along with commentary. A more comprehensive sample conversion is needed too. OK deraadt@
2014-11-03POLLERR is only valid in revents so it is not a bug that it isTodd C. Miller
ignored in events. The kernel does actually set POLLERR in revents in some cases.
2014-10-26mknod(2) now supports creating FIFOs too. Fix description of device filePhilip Guenther
creation while here. ok jmc@ schwarze@ millert@
2014-10-16Remove references to unimplemented CLOCK_VIRTUAL. It is non-standardTodd C. Miller
and existing implementations vary as to whether it returns time for the calling thread or the entire process. OK kettenis@
2014-09-15We missed a hyphen in 'async-signal-safe'Philip Guenther
Noted by Jean-Philippe Ouellet (jean-philippe (at) ouellet.biz)
2014-09-15Mention that SIGTHR is both local and weirdPhilip Guenther
"seems fair" schwarze@
2014-09-10sockatmark(3) has been implemented; add it to the async-signal-safe listsPhilip Guenther
2014-09-10update STANDARDS reference from POSIX 1990 to POSIX 2008;Ingo Schwarze
joint work with and ok guenther@
2014-09-09Identify domains with AF_* instead of PF_* herePhilip Guenther
Tweaks to SYNOPSIS and RETURN VALUES
2014-09-09Various updates and corrections to SYNOPSIS, ERRORS, and STANDARDSPhilip Guenther
Mention that unlinkat() serves the role of rmdirat().
2014-09-09Don't point to <sys/signal.h> for SIG_*; they're told to use <signal.h>Philip Guenther
and don't need anything beyond that
2014-09-09tweak previous;Jason McIntyre
2014-09-09Don't need to mention names on .Rv line herePhilip Guenther
2014-09-09Various updates and corrections to SYNOPSIS, ERRORS, and STANDARDSPhilip Guenther
Mention that unlinkat() serves the role of rmdirat().
2014-09-09Various updates and corrections to SYNOPSIS, ERRORS, and STANDARDSPhilip Guenther
Mention send(MSG_EOR)
2014-09-09We have no protocols which require explicit confirmationPhilip Guenther
2014-09-07Document that 4.4BSD changed the semantics but that others have restoredPhilip Guenther
the original ones ok jmc@
2014-09-01Sync readlink(2) with IEEE Std 1003.1-2008.Doug Hogan
discussion, help and ok guenther@
2014-08-31tweaks;Jason McIntyre
2014-08-31Declare and document getthrid()Philip Guenther
indirectly prodded by krw@
2014-08-31Add additional kernel interfaces for setting close-on-exec on fdsPhilip Guenther
when creating them: pipe2(), dup3(), accept4(), MSG_CMSG_CLOEXEC, SOCK_CLOEXEC. Includes SOCK_NONBLOCK support. ok matthew@
2014-08-22POSIX/FreeBSD/NetBSD/Linux/etc agree -- blk[size|cnt]_t is the bomb.Kenneth R Westerback
So add the types blksize_t (a.k.a. int32_t) and blkcnt_t (a.k.a. int64_t). Use blkcnt_t in stat.h since the base type (int64_t) does not change. blksize_t in stat.h will follow after the tree is audited for signed issues, since the base type will change from u_int32_t to a POSIX compliant int32_t. Guidance and feedback from guenther@ ok millert@
2014-08-16Fixed typo in "distinct".Tobias Stoeckmann
ok jmc@
2014-08-14fixed overrid(d)en typoTobias Stoeckmann
millert@ and jmc@ agree that "overriden" is wrong
2014-08-10AF_IMPLINK and AF_BLUETOOTH are gonePhilip Guenther
2014-07-21Add pthread_sigmask() and raise() to the list of async signal safeMatthew Dempsky
functions, per POSIX Issue 7 ok deraadt
2014-07-21Fix typo: s/lstate/lstat/Matthew Dempsky
2014-07-19Document that abort() is async signal safe now that it doesn't flushMatthew Dempsky
stdio buffers While here replace "SUSv[67]" with "POSIX Issue [67]" and update signal(3) to mention that pselect() and ppoll() are async signal safe like sigaction(2) already does. ok guenther
2014-07-18Oops, getentropy() is an "extension interface", not a "base interface"Matthew Dempsky
Also, update the async signal safe list in signal(3) too (reminded by deraadt)
2014-07-18Document that getentropy() is async signal safe.Matthew Dempsky
Pointed out by Jean-Philippe Ouellet
2014-07-18As discussed with beck, tweak the wording for getentropy slightly soTheo de Raadt
that a certain kind of people don't go bonkers over "what is entropy". it is what it is, input to PRNG's.
2014-07-13one .Fn argument per function argumentIngo Schwarze
2014-07-13yes indeed, it returns void *. from Jean-Philippe Ouellet, i also hadTheo de Raadt
this lurking in a tree