Michael Kerrisk
6b34fb3f5a
execve.2, pipe.2, tee.2, fmemopen.3, mq_notify.3, qsort.3: Replace use of assert() by code that checks argc
...
See http://bugzilla.kernel.org/show_bug.cgi?id=13569
As noted by Andrey:
The purpose of the assert macro, defined in <assert.h>,
is to provide a tool to check for programming mistakes
or program logic errors. However, the assert macro must
never be used to perform checks for run time errors,
since, with the NDEBUG macro defined, expressions within
the assert macro invocations are not evaluated/checked
for, resulting in behavior that was not originally intended.
...
The pages affected in the core package are
execve(2)
pipe(2)
tee(2)
fmemopen(3)
mq_notify(3)
qsort(3)
Reported-by: Andrey Vihrov <vihrov@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Sam Varshavchik
344689bd06
pipe.2: wfix: SYNPOSIS: add missing word "int"
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-04 09:16:00 -05:00
Michael Kerrisk
8c6e516d64
pipe.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:42 +02:00
Michael Kerrisk
ef7db4f5b3
inotify_init.2, pipe.2, timerfd_create.2: tfix
...
s/fcntl ()/fcntl (2)/ in xref
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:42 +02:00
Michael Kerrisk
b25c5b2388
inotify_init.2, pipe.2, timerfd_create.2: Clarify *_NONBLOCK description
...
Make it clear that the NONBLOCK flag sets an attribute in the new
open file description.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:40 +02:00
Michael Kerrisk
c7d4277973
pipe.2: minor: Explicitly mention FD_CLOEXEC flag
...
Explicitly name FD_CLOEXEC constant when referring to
"close-on-exec flag".
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:18 +02:00
Michael Kerrisk
14393ac023
pipe.2: Add description of new pipe2() syscall
...
pipe2() was added in 2.6.27. Describe the O_NONBLOCK and
O_CLOEXEC flags.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 06:23:53 +02:00
Michael Kerrisk
9d227bc540
Rewrote DESCRIPTION; minor additions to EXAMPLE text.
2008-01-09 10:17:51 +00:00
Michael Kerrisk
a17e03f5cb
Rename 'filedes' argument 'pipefd'.
2007-12-24 22:02:58 +00:00
Michael Kerrisk
c11b1abf2e
Change mtk's email address
2007-09-20 06:52:22 +00:00
Michael Kerrisk
29059a6548
s/-/\\-/
2007-06-20 21:39:45 +00:00
Michael Kerrisk
d9343c5c13
Removed version number from .TH line
2007-05-30 05:36:26 +00:00
Michael Kerrisk
c13182efa3
Wrapped long lines, wrapped at sentence boundaries; stripped trailing
...
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk
cf0a9ace57
ffix
2007-04-05 12:36:57 +00:00
Michael Kerrisk
97c1eac86f
Updated CONFORMING TO section
2006-08-03 13:57:17 +00:00
Michael Kerrisk
61fccf7c75
Add SEE ALSO referring to popen.3.
2006-05-29 05:12:37 +00:00
Michael Kerrisk
cde9f44b19
Added comment noting that fork.2 refers to the example program on this
...
page.
2005-12-12 09:19:46 +00:00
Michael Kerrisk
15740f8afd
Added example program.
2005-12-09 14:24:10 +00:00
Michael Kerrisk
be37f2c558
Added SEE ALSO for new pipe.7 page
2005-12-08 18:57:25 +00:00
Michael Kerrisk
e511ffb6bc
Automated addition of parentheses by add_parens_for_own_funcs.sh
2005-10-19 06:54:38 +00:00
Michael Kerrisk
c1f2160361
Removed SVr2, AT&T, and BSD from CONFORMING TO, since
...
a pipe on those systems is actually bidirectional
(Pipes are implemented as STREAMS on the former, and
sockets on the latter.)
2005-03-31 14:08:14 +00:00
Michael Kerrisk
305a0578bf
Global change of email address for MTK (now: mtk-manpages@gmx.net)
2004-11-03 14:43:40 +00:00
Michael Kerrisk
fea681dafb
Import of man-pages 1.70
2004-11-03 13:51:07 +00:00