summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/pipe.2
Commit message (Collapse)AuthorAgeFilesLines
* MFC r260556: Add some missing .Nm for newer syscalls in existing man pages.jilles2014-01-181-1/+2
|
* accept(2), pipe(2): Fix .Dd.jilles2013-05-011-1/+1
|
* Add pipe2() system call.jilles2013-05-011-2/+44
| | | | | | | | | | | | | The pipe2() function is similar to pipe() but allows setting FD_CLOEXEC and O_NONBLOCK (on both sides) as part of the function. If p points to two writable ints, pipe2(p, 0) is equivalent to pipe(p). If the pointer is not valid, behaviour differs: pipe2() writes into the array from the kernel like socketpair() does, while pipe() writes into the array from an architecture-specific assembler wrapper. Reviewed by: kan, kib
* Several cleanups related to pipe(2).ed2008-11-111-6/+1
| | | | | | | | | | | | | | | | | | - Use `fildes[2]' instead of `*fildes' to make more clear that pipe(2) fills an array with two descriptors. - Remove EFAULT from the manual page. Because of the current calling convention, pipe(2) raises a segmentation fault when an invalid address is passed. - Introduce kern_pipe() to make it easier for binary emulations to implement pipe(2). - Make Linux binary emulation use kern_pipe(), which means we don't have to recover td_retval after calling the FreeBSD system call. Approved by: rdivacky Discussed on: arch
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* - In pipe() return the error returned by pipe_create(), rather thenglebius2006-01-301-1/+3
| | | | | | | | hardcoded ENFILES, which is incorrect. pipe_create() can fail due to ENOMEM. - Update manual page, describing ENOMEM return code. Reviewed by: arch
* Eliminate double whitespace.ru2004-07-031-1/+1
|
* mdoc(7) police: Tidy up the syscall language.ru2002-12-181-4/+4
| | | | | | | | | | Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-1/+1
|
* Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.yar2001-08-091-6/+1
| | | | Reviewed by: ru
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Use `Er' variable to define first column width in ERRORS section. It wasphantom2000-05-041-1/+1
| | | | initially suggested by mdoc(7) style, but was broken over the years
* Introduce ".Lb" macro to libc manpages.phantom2000-04-211-0/+2
| | | | More libraries manpages updates following.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-021-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Removed a duplicate reference to System V.4.bde1999-07-311-2/+1
|
* Use the .At macro when referencing versions of AT&T UNIX.mpp1999-07-301-2/+4
| | | | | | Note: you need to install the current groff tmac macros for these man pages to format correctly. Specifically, rev 1.21 of contrib_groff/tmac/doc-syms in -current, or rev 1.17.24 for 3.2-stable
* Mdoc cleanup.mpp1999-07-301-2/+3
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Sort cross references.wosch1997-01-201-3/+3
|
* Correctly use .Fn instead of .Nm to reference function namesmpp1996-08-221-1/+1
| | | | | | | | in a bunch of man pages. Use the correct .Bx (BSD UNIX) or .At (AT&T UNIX) macros instead of explicitly specifying the version in the text in a bunch of man pages.
* A pipe function call appeared in Version *3* AT&T UNIX, notwosch1996-08-181-1/+1
| | | | | | Version 6. Close PR #1490 Obtained from: Peter H. Saulus in `A Quarter Century of UNIX', page 50
* Remove outdated (and never quite correct anyway) reference to thepeter1996-04-031-4/+0
| | | | "fact" that pipes were implemented as calls to socketpair().
* Fix even more spelling errors in some more man pages.mpp1996-01-301-1/+1
|
* Document the change that I made to pipe(2)peter1996-01-011-4/+12
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+115
OpenPOWER on IntegriCloud