Mark Hills
513785e299
string.3: Add stpcpy() to this list of string functions
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 07:40:42 +01:00
Michael Kerrisk
7e6b1afb45
strptime.3: Initialize tm structure in example program
...
Reported-by: Doug Manley <doug.manley@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 06:49:17 +01:00
Michael Kerrisk
183d08ce41
fopencookie.3: tfix
...
Reported-by: Stuart Kemp <skemp@alertlogic.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 06:11:59 +01:00
Mark Hills
2cd33eb56c
strcpy.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 06:03:25 +01:00
Michael Kerrisk
13a7959b69
memchr.3: Add feature text macro requirements for memrchr()
...
Reported-by: Markus Peuhkuri <puhuri@iki.fi>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 04:55:33 +01:00
Michael Kerrisk
c162db87db
pthread_join.3: wfix: s/pthread_create/pthread_join/
...
Reported-by: Sam Liao <phyomh@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 15:44:01 +01:00
Yuri Kozlov
1f79eca5ac
getaddrinfo.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 15:36:19 +01:00
Michael Kerrisk
42afc4076c
getpwnam.3: tfix
...
Reported-by: <sunjiangangok@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 15:17:53 +01:00
Michael Kerrisk
a10ab4c695
getnameinfo.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 13:57:42 +01:00
Michael Kerrisk
f87ab54768
gethostbyname.3: Document feature test macro requirements for herror() and hstrerror()
...
Since glibc 2.8, one of _BSD_SOURCE, _SVID_SOURCE,
or _GNU_SOURCE is required.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 13:54:24 +01:00
Michael Kerrisk
0d4b699de2
getnameinfo.3: Document feature test macros requirements for NI_MAXHOST and NI_MAXSERV
...
Since glibc 2.8, one of _BSD_SOURCE, _SVID_SOURCE, or _GNU_SOURCE
must be defined to obtain these definitions.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 13:54:16 +01:00
Michael Kerrisk
17e5e6779a
Removed trailing white space at end of lines
2009-09-30 03:34:51 +02:00
Michael Kerrisk
2843ba93d4
stat.2, posix_fallocate.3, proc.5, tcp.7, udp.7: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-30 03:28:34 +02:00
Nicolas François
e46256a48c
strftime.3: Fix error in description: s/Monday/Thursday/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:31 +02:00
Nicolas François
315dc3cd78
posix_fallocate.3: Fix reference to POSIX.1-2008
...
The sentence mentions twice POSIX.1-2001.
I guess the second one should be POSIX.1-2008.
This should be checked in the standard.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:30 +02:00
Nicolas François
7391478f8b
updwtmp.3: Minor fixes
...
Spelling fix (s/utmp/wtmp/)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François
8856a9dc45
readdir.3: Minor fixes
...
Spelling fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François
3849d36538
pthread_getattr_np.3: Minor fixes
...
Spelling fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:25 +02:00
Nicolas François
4b200bd5f8
pthread_attr_setstack.3: Minor fixes
...
* pthread_attr_setstacksize was cut&pasted.
* The stacksize argument can be compared to PTHREAD_STACK_MIN, not the
stackaddr address.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:22 +02:00
Nicolas François
6316fce396
pthread_getcpuclockid.3: Minor fixes
...
Looking at the man page, this is not a family of functions.
So "returns" is right, "functions" should be "function".
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:22 +02:00
Nicolas François
bf4cfa6627
man3/opendir.3, pthread_attr_setaffinity_np.3, man3/pthread_setaffinity_np.3: Minor fixes
...
The word "function" is missing (or "The" should be removed?).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:21 +02:00
Michael Kerrisk
aec4704f6d
exit.3: Add a pointer to explanation of orphaned process groups in setpgid(2)
...
Reported-by: Georg Sauthoff <gsauthof@techfak.uni-bielefeld.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:20 +02:00
Michael Kerrisk
2a4b81ffd4
setenv.3: Improve ERRORS section
...
Add ENOMEM error; improve EINVAL description. Also, make
RETURN VALUE section a little more accurate in its mention
of errno.
Reported-by: Georg Sauthoff <gsauthof@techfak.uni-bielefeld.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:20 +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
ed35aae690
printf.3: wfix
...
Reported-by: Aaron Gardner <aaron.j.gardner@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Mike Frysinger
e8418d6da8
getmntent.3: setmntent() argument is 'filename' not 'fp'
...
The description of setmntent() formerly used the wrong
argument name.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:19 +02:00
Michael Kerrisk
19f56c70d3
getaddrinfo.3: wfix: s/result/res/ in text describing argument
...
Reported-by: rui rlex <rui.rlex@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:18 +02:00
Michael Kerrisk
add478c172
getaddrinfo.3: spfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:18 +02:00
Michael Kerrisk
f9d5775ff8
getaddrinfo.3: Note nonstandard assumed hints.ai_flags value when hints is NULL
...
When hints is NULL, glibc assumes hints.ai_flags is
AI_V4MAPPED|AI_ADDRCONFIG whereas POSIX says 0.
According to Ulrich Drepper, glibc's behavior is better.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:18 +02:00
Michael Kerrisk
2b64c171eb
fflush.3: fflush() discards buffered input
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:13 +02:00
Michael Kerrisk
a385e7d797
ffs.3: Clarify that ffsl() and ffsll() are GNU extensions
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-08-27 11:18:19 +02:00
Michael Kerrisk
c3665d565f
pthread_setschedparam.3: tfix
...
Reported-by: Leslie P. Polzer <sky@viridian-project.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-08-02 14:00:49 +02:00
Michael Kerrisk
e80aa4d865
Removed trailing white space at end of lines
2009-07-25 08:51:28 +02:00
Michael Kerrisk
906472fd29
getifaddrs.3: tfix: remove extraneous semicolon in example program
...
Reported-by: ku roi <kuroibox@yahoo.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:31:03 +02:00
Michael Kerrisk
73e15b46d1
lockf.3: Clarify relationship between fcntl() and lockf() locking
...
Reported-by: Tolga Dalman <tdalman@project-psi.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-25 08:31:02 +02:00
Michael Kerrisk
9c9321b71b
readdir.3: The d_type field is fully supported on Btrfs
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-07-04 15:05:55 +02:00
Michael Kerrisk
c36d05577d
pthread_attr_setstackaddr.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-27 08:04:21 +02:00
Mike Frysinger
c07a3ca39c
setjmp.3: Fix typo and clarify RETURN description
...
The word "signal" was duplicated in NOTES, and the RETURN
section refers to setjmp() and sigsetjmp(), and mentions
longjmp(), but not siglongjmp().
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-06-26 15:07:39 +02:00
Mark Hills
c7a20d46be
strcpy.3: SEE ALSO: Add strdup(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-06-10 10:22:21 +02:00
Michael Kerrisk
5a76509a2e
daemon.3: Clarify discussion of 'noclose' and 'nochdir' arguments
...
Reported-by: Doug Goldstein <cardoe@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-05-02 16:29:00 +12:00
Michael Kerrisk
7e05b05eca
daemon.3: Minor wording fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-05-02 16:01:21 +12:00
Michael Kerrisk
5f6f222a13
makedev.3: wfix: swap 'include' and 'define' in SYNOPSIS
...
Reported-by: Ricardo Garcia <rg3.zeluan@gmail.com>
Reported-by: Rui Rlex <rui.rlex@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-05-02 15:43:25 +12:00
Mark Hills
08eaa638df
closedir.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-28 16:53:42 +12:00
Petr Baudis
52aa4b9710
memchr.3: SEE ALSO: add ffs(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 16:22:05 +12:00
Petr Baudis
02b30d94db
ffs.3: SEE ALSO: add memchr(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 16:21:28 +12:00
Petr Baudis
a9cbb6cf2b
strcmp.3: SEE ALSO: add strverscmp(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 16:20:08 +12: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
Florentin Duneau
dbb433dc4f
longjmp.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-21 14:44:29 +12:00