Michael Kerrisk
ea91c3fdde
faccessat.2, dprintf.3, fexecve.3, fmemopen.3, mbsnrtowcs.3, mkfifoat.3, opendir.3, stpcpy.3, stpncpy.3, strnlen.3, strsignal.3, wcpcpy.3, wcpncpy.3, wcscasecmp.3, wcsdup.3, wcsncasecmp.3, wcsnlen.3, wcsnrtombs.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:09 +02:00
Michael Kerrisk
98dbe7af76
brk.2, chroot.2, faccessat.2, fchmodat.2, fchownat.2, fstatat.2, futimesat.2, getdtablesize.2, getpagesize.2, getsid.2, linkat.2, mkdirat.2, mknodat.2, openat.2, pread.2, readlinkat.2, renameat.2, setpgid.2, sigaltstack.2, symlinkat.2, sync.2, timer_create.2, timer_delete.2, timer_getoverrun.2, timer_settime.2, unlinkat.2, utimensat.2, vfork.2, acosh.3, asinh.3, atanh.3, dirfd.3, dprintf.3, ecvt.3, expm1.3, fexecve.3, fmemopen.3, gcvt.3, getcwd.3, gethostid.3, getpass.3, getsubopt.3, getw.3, mbsnrtowcs.3, mkfifoat.3, mkstemp.3, mktemp.3, opendir.3, posix_memalign.3, rint.3, siginterrupt.3, stpcpy.3, stpncpy.3, strdup.3, strerror.3, strnlen.3, strsignal.3, strtol.3, strtoul.3, ualarm.3, usleep.3, wcpcpy.3, wcpncpy.3, wcscasecmp.3, wcsdup.3, wcsncasecmp.3, wcsnlen.3, wcsnrtombs.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 16:59:08 +02:00
Michael Kerrisk
31337f9329
fmemopen.3: Update for feature test macro changes in glibc 2.10
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-22 07:44:46 +02:00
Michael Kerrisk
84112433e2
fmemopen.3: Bug fix in example program
...
Reported-by: Walter Harms <wharms@bfs.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:11 +02:00
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
Michael Kerrisk
e80aa4d865
Removed trailing white space at end of lines
2009-07-25 08:51:28 +02:00
Petr Baudis
a76ca00013
fmemopen.3: NOTES: there is no file descriptor associated with the returned stream
...
Alexander Lamaison pointed out that this is not obvious
from the documentation, citing an example with passing the
FILE * handle to a function that tries to fstat() its
fileno() in order to determine the buffer size.
Reported-by: Alexander Lamaison <awl03@doc.ic.ac.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 16:12:05 +12:00
Petr Baudis
28c1dc49ce
fmemopen.3: Relocate BUGS section to correct position
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 16:03:54 +12:00
Michael Kerrisk
abaf3cfdcf
fmemopen.3: CONFORMING TO: remove note that these functions are GNU extensions
...
That sentence is now redundant, since these functions
are added in POSIX.1-2008.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 16:02:24 +12:00
Michael Kerrisk
28d03ce9e9
daemon.3, exec.3, fmemopen.3, fopen.3, realpath.3, siginterrupt.3, strtoul.3: Minor rewordings
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 15:34:12 +13:00
Michael Kerrisk
aed04a0a89
fmemopen.3: CONFORMING TO: note that these functions are in POSIX.1-2008
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 09:21:18 +13:00
Michael Kerrisk
16625773f9
fmemopen.3: Fix VERSIONS information
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Petr Baudis <pasky@suse.cz>
2008-12-06 12:03:31 -05:00
Michael Kerrisk
4f9ea6c361
fmemopen.3: minor: wording tweak
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:22 -05:00
Michael Kerrisk
99111b7580
fmemopen.3: ffix
2008-12-05 22:47:22 -05:00
Michael Kerrisk
45906a480f
fmemopen.3: Add VERSIONS section
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:22 -05:00
Petr Baudis
3a0f269da2
fmemopen.3: Add description of open_wmemstream(3)
...
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:21 -05:00
Petr Baudis
da607ba120
fmemopen.3: SEE OPEN: Add fopencookie(3)
...
fopencookie(3) is used to implement fmemopen().
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:20 -05:00
Michael Kerrisk
d84d0300a5
eventfd.2, getdents.2, mprotect.2, signalfd.2, timerfd_create.2, wait.2, backtrace.3, clock_getcpuclockid.3, end.3, fmemopen.3, fopencookie.3, frexp.3, getaddrinfo.3, getdate.3, getgrouplist.3, getprotoent_r.3, getservent_r.3, gnu_get_libc_version.3, inet.3, inet_pton.3, makecontext.3, matherr.3, offsetof.3, pthread_attr_init.3, pthread_create.3, pthread_getattr_np.3, sem_wait.3, strftime.3, strtok.3, strtol.3, core.5: srcfix
...
s/\.R " "/\\\&/ as a way of getting a blank line after a .SS heading.
(Suggested by Sam Varshavchik <mrsam@courier-mta.com>)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-04 20:42:45 -05:00
Michael Kerrisk
9c33050447
eventfd.2, getdents.2, mprotect.2, signalfd.2, timerfd_create.2, wait.2, backtrace.3, clock_getcpuclockid.3, end.3, fmemopen.3, fopencookie.3, getdate.3, getgrouplist.3, getprotoent_r.3, getservent_r.3, gnu_get_libc_version.3, inet.3, inet_pton.3, makecontext.3, matherr.3, offsetof.3, pthread_attr_init.3, pthread_create.3, pthread_getattr_np.3, sem_wait.3, strtol.3, core.5: global fix: Add ".SS Program source" to EXAMPLE
...
Add ".SS Program source" to clearly distinguish shell session and
descriptive text from actual program code.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:23 -05:00
Michael Kerrisk
b43a3b301e
eventfd.2, execve.2, getdents.2, ioprio_set.2, mprotect.2, signalfd.2, timerfd_create.2, wait.2, backtrace.3, clock_getcpuclockid.3, end.3, fmemopen.3, fopencookie.3, frexp.3, getdate.3, getgrouplist.3, getprotoent_r.3, getservent_r.3, gnu_get_libc_version.3, inet.3, inet_pton.3, makecontext.3, malloc.3, matherr.3, offsetof.3, pthread_attr_init.3, pthread_create.3, pthread_getattr_np.3, sem_wait.3, strftime.3, strtok.3, strtol.3, core.5, proc.5, cpuset.7, mq_overview.7: Global fix: Format user input in shell sessions in boldface
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:23 -05:00
Michael Kerrisk
5497345840
fmemopen.3: ffix
2008-10-29 14:54:22 -05:00
Michael Kerrisk
e008cdda60
fmemopen.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:22 +02:00
Michael Kerrisk
16ee3d5694
fmemopen.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:22 +02:00
Michael Kerrisk
363e70d263
fmemopen.3: Document binary mode (mode 'b')
...
Glibc 2.9 adds support to fmemopen() for binary mode opens.
Binary mode is specified by inclusion of the letter 'b' in
the 'mode' argument.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:52:59 +02:00
Michael Kerrisk
33b1b47eb7
Since glibc 2.7, it is possible to seek past the end of
...
a stream created by open_memstream(). Add a BUGS section
describing the bug in earlier glibc versions.
2008-08-21 10:06:18 +00:00
Michael Kerrisk
3cf81850db
tfix
2008-07-18 08:37:37 +00:00
Michael Kerrisk
0425de01c7
s/ / /
2008-07-01 14:15:13 +00:00
Michael Kerrisk
f81fb4445b
s/\\'/\\(aq/
2008-06-09 15:49:35 +00:00
Michael Kerrisk
f8a07a2154
s/'/\\'/ to improve rendering in UTF-8.
2008-06-05 17:52:37 +00:00
Michael Kerrisk
31dec0c787
wfix
2008-04-23 17:03:47 +00:00
Michael Kerrisk
7b01461a26
s/zeroes/zeros/
2008-03-19 09:04:12 +00:00
Michael Kerrisk
1368e8476d
ffix
2007-12-10 15:03:27 +00:00
Michael Kerrisk
6a578b8823
s/dir(/handle_error(/
2007-11-19 03:25:26 +00:00
Michael Kerrisk
0daa9e92d0
Fix redundant formatting macros
2007-09-20 16:26:31 +00:00
Michael Kerrisk
c11b1abf2e
Change mtk's email address
2007-09-20 06:52:22 +00:00
Michael Kerrisk
52e87bbed1
Fix missing semicolon in prototype
2007-07-10 04:51:30 +00:00
Michael Kerrisk
097585edcb
ffix
2007-06-22 20:40:07 +00:00
Michael Kerrisk
29059a6548
s/-/\\-/
2007-06-20 21:39:45 +00:00
Michael Kerrisk
0e1ad98ccf
Updated FIXMEs
2007-06-13 21:48:16 +00:00
Michael Kerrisk
d3b5ab8237
Small changes in EXAMPLE program.
2007-06-02 08:31:25 +00:00
Michael Kerrisk
4594917527
Reformatted code example
2007-06-02 06:08:57 +00:00
Michael Kerrisk
a5dbb527b4
spfix
2007-06-01 06:24:41 +00:00
Michael Kerrisk
2b2581ee37
Fix inconsistencies in order of .SH sections
2007-05-19 04:30:20 +00:00
Michael Kerrisk
0ed55ece49
Make "manual" in .TH line "Linux Programmers Manual"
2007-05-18 08:43:42 +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
b9f027105c
ffix
2007-04-03 15:32:52 +00:00
Michael Kerrisk
0a90178cbb
Add feature_test_macros(7) to SEE ALSO
2007-01-28 20:00:24 +00:00
Michael Kerrisk
4f5373ba7b
ffix
2006-05-29 05:10:26 +00:00
Michael Kerrisk
8073758dce
ffix
2006-05-29 05:10:07 +00:00