Michael Kerrisk
9e36b352bc
ctime.3: Note that POSIX.1-2008 recommends strftime(3) instead of these functions
...
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:58 +13:00
Michael Kerrisk
48cc3d9d8f
bcopy.3: Note that POSIX.1-2008 removes specification of bcopy()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:57 +13:00
Michael Kerrisk
67bb874245
bsd_signal.3: Note that POSIX.1-2008 recommends sigaction(2) instead of this API
...
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-15 08:04:57 +13:00
Michael Kerrisk
fc3c831d6b
seekdir.3: SYNOPSIS: Fix type of 'offset' argument: s/off_t/long/
...
And add a NOTES section pointing out that 'off_t'
was indeed used in glibc 2.1.1 and earlier.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519230
Reported-by: Tanaka Akira <akr@fsij.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-12 15:03:41 +13:00
Michael Kerrisk
48e39fa763
telldir.3: SYNOPSIS: Fix return type: s/off_t/long/
...
And add a NOTES section pointing out that 'off_t'
was indeed used in glibc 2.1.1 and earlier.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519230
Reported-by: Tanaka Akira <akr@fsij.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-12 15:03:41 +13:00
Michael Kerrisk
7dcae89694
mempcpy.3, signbit.3, significand.3: Global fix: acknowledge FSF in copyright
...
These pages are heavily based on original material in
glibc info pages, but the comments in the source of the pages
did not acknowledge the FRF copyright on the original material.
Fix that.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-12 07:24:34 +13:00
Michael Kerrisk
6652fffac3
timeradd.3: Note that on some systems, <=, >=, == don't work for timercmp()
...
Reported-by: Martin Gebert <martin.gebert@alpha-bit.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:18 +13:00
Michael Kerrisk
f6c92d2a5e
timeradd.3: SYNOPSIS: Fix return types of timerisset() and timercmp()
...
Reported-by: Martin Gebert <martin.gebert@alpha-bit.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:17 +13:00
Michael Kerrisk
bd8384888b
shm_open.3, mq_overview.7: Recast discussion on name length to exclude terminating NULL byte
...
Probably it's clearer to describe the length of the IPC object
name as a count that excludes the null terminator.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:34:49 +13:00
Michael Kerrisk
590d0346d9
strftime.3: Add details on ISO 8601 week-based dates
...
ISO 8602 week-based dates are relevant for %G, %g, and %V,
and the existing details on these dates are a little thin.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-24 16:05:49 +13:00
Michael Kerrisk
894765f0e5
strftime.3: Remove mention of year from ISO 8601 standard
...
The text mentioned the 1988 8601 standard, but there have
already been two revisions of the standard since then, so
simply remove mention of the year.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-24 14:02:37 +13:00
Michael Kerrisk
3d78d77891
strftime.3: Small fix to description of %G
...
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516677
Reported-by: Reuben Thomas <rrt@femur.dyndns.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-24 14:02:36 +13: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
9e39c4da05
fflush.3: Minor rewordings
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 15:32:28 +13:00
Michael Kerrisk
0dc60a9902
fclose.3: Minor rewordings
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 15:27:03 +13:00
Michael Kerrisk
9d05bd16f8
getnameinfo.3: tfix
...
Reported-by: Leandro A. F. Pereira <leandro@tia.mat.br>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 14:51:28 +13:00
Michael Kerrisk
a306ffff9f
getlogin.3: spfix
2009-02-21 07:14:34 +13:00
Michael Kerrisk
88850fde24
getnetent_r.3: Fix function name in text: s/getnetbynumber_r/getnetbyaddr_r/
...
The SYNOPSIS showed the right function name (getnetbyaddr_r),
but the text repeatedly used the wrong name (getnetbynumber_r).
Probably, this was a cut-and-paste error.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-21 07:06:32 +13:00
Michael Kerrisk
88d61d8a48
syslog.3: spfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-21 06:56:43 +13:00
Michael Kerrisk
5a3b4036f6
realpath.3: spfix
2009-02-21 06:47:49 +13:00
Michael Kerrisk
c49e8fc97b
realpath.3: Rework resolved_path==NULL discussion w.r.t. POSIX.1-200[18]
...
Although the page already mentioned the resolved_path==NULL
feature, and that this feature was added in POSIX.1-2008, there
was still some crufty text in BUGS that hadn't been updated to
reflect the POSIX.1-2008 changes.
Also, some other minor wording and grammar fixes.
Reported-by: Reuben Thomas <rrt@femur.dyndns.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-21 06:40:45 +13:00
Michael Kerrisk
3683d2505b
malloc_hook.3: srcfix
2009-02-21 00:19:53 +13:00
Michael Kerrisk
c09cb5f47f
recno.3: spfix
2009-02-21 00:19:06 +13:00
Michael Kerrisk
d442cb84ea
memchr.3: spfix
2009-02-21 00:17:41 +13:00
Michael Kerrisk
ab186fbd11
inet.3: spfix
2009-02-21 00:16:37 +13:00
Michael Kerrisk
7ae19fdf8f
memchr.3: spfix
2009-02-21 00:14:51 +13:00
Michael Kerrisk
09d7e7ebe1
clock_getcpuclockid.3, sem_open.3: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 20:22:00 +13:00
Jens Thoms Toerring
db2fff8c01
sem_open.3: Add case of non-well-formed name to ENOENT
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:31 +13:00
Michael Kerrisk
18fe47e06f
sem_open.3: ERRORS: add EINVAL error where name == "/"
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:31 +13:00
Michael Kerrisk
8e98475172
shm_open.3: Clarify rules for construction of shared memory object names
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:30 +13:00
Michael Kerrisk
b2e7d0723e
mq_open.3: ERRORS: Add EACCES error for name containing > 1 slash
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:30 +13:00
Michael Kerrisk
1e22e66618
mq_open.3: ERRORS: add ENOENT error for name == "/"
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:30 +13:00
Kir Kolyshkin
baf17bc4f2
Trivial punctuation fixes in SEE ALSO
...
In SEE ALSO, when a few man pages are referenced, those are divided by commas.
Every reference is on a separate line, and all lines but the last one should
end with comma. I spotted one place where there is no comma in between
references, and mocked up an awk script to find similar places:
for f in man*/*; do awk '/^.SH ["]SEE ALSO["]/ {sa=1; print "== " FILENAME " =="; print; next } /^\.(PP|SH)/ {sa=0; no=0; next} /^\.BR/ { if (sa==1) { print; if (no == 1) print "Missing comma in " FILENAME " +" FNR-1; no=0 } } /^\.BR .*)$/ { if (sa==1) no=1; next } /\.\\"/ {next} /.*/ { if (sa==1) { print; next }}' $f; done | fgrep 'Missing comma'
This patch fixes all the places found by the above script.
Also, there is an extra dot at the end of uri.7 "SEE ALSO" section.
Removed as per man-pages(7) recommendation.
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:29 +13:00
Michael Kerrisk
8699ebd957
getitimer.2, clock_getcpuclockid.3, time.7: SEE ALSO: add timer_create(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 14:42:17 +13:00
Michael Kerrisk
d96dea0ac8
sigwait.3: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 15:06:33 +13:00
Michael Kerrisk
c1091bc94e
scandir.3: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 15:06:32 +13:00
Michael Kerrisk
3e8d776c07
clock_getres.3, clock_gettime.3, clock_settime.3: srcfix: Add comment explaining why these link files exist
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:33:48 +13:00
Michael Kerrisk
3da3747663
rand.3: srcfix: remove outdated FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:01 +13:00
Michael Kerrisk
8b98f282b6
sem_wait.3: SEE ALSO: add clock_getime(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:01 +13:00
Michael Kerrisk
0eb443910b
clock_nanosleep.2, getrusage.2, timerfd_create.2, clock.3, clock_getcpuclockid.3, ftime.3, pthread_create.3, pthread_getcpuclockid.3, pthread_tryjoin_np.3, sem_wait.3, time.7: Global fix: Fix xrefs to clock_*.? pages to reflect move to section 2
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:00 +13:00
Michael Kerrisk
ac48bb8a29
clock_getres.3: Re-create as link to new location of clock_getres page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:00 +13:00
Michael Kerrisk
58ebb7ec73
clock_gettime.2, clock_settime.2, clock_gettime.3, clock_settime.3: Update links to reflect the fact that clock_* pages are now in Section 2
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:00 +13:00
Michael Kerrisk
9bdcdd5e27
clock_getres.2: Move page from Section 3 to Section 2
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:00 +13:00
Michael Kerrisk
804f03e657
clock_nanosleep.2, execve.2, fork.2, nanosleep.2, sigaction.2, timerfd_create.2, pthread_getcpuclockid.3, ualarm.3, usleep.3, pthreads.7, time.7: Global fix: s/(3)/(2)/ in section number xrefs for timer_*() API
...
The POSIX timers API is implemented (mostly) within the kernel,
so thse interfaces are system calls. Although there are as yet
no man pages, when they are added they should be in Section 2,
not 3. Therefore fix those pages that currently refer to these
interfaces as being in Section 3.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:29:10 +13:00
Michael Kerrisk
f6d908ca5f
pthread_getcpuclockid.3: SYNOPSIS: fix type of 'thread'
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:29:02 +13:00
Michael Kerrisk
3f97f5a8d1
clock_getcpuclockid.3: SEE ALSO: add pthread_getcpuclockid(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:28:54 +13:00
Michael Kerrisk
1ba3fba8a7
clock_getres.3: Document CLOCK_MONOTONIC_RAW, new in 2.6.28
...
(kernel commit 2d42244ae71d6c7b0884b5664cf2eda30fb2ae68)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-04 14:02:50 +13:00
Michael Kerrisk
072f467c1f
significand.3: wfix
2009-02-03 21:32:43 +13:00
Michael Kerrisk
a85e5d51d3
rtime.3: spfix
2009-02-03 21:30:55 +13:00
Timo Sirainen
12c667ca28
fexecve.3: Note that fexecve() depends on a mounted /proc
...
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514043
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 17:47:02 +13:00
Michael Kerrisk
1ed5046249
getpwnam.3: SEE ALSO: add getspnam(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 17:39:35 +13:00
Michael Kerrisk
980ee95f65
isalpha.3: SEE ALSO: add toascii(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 17:01:15 +13:00
Michael Kerrisk
55975b54fb
ilogb.3: SEE ALSO: add significand(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 16:59:38 +13:00
Michael Kerrisk
0db3562749
significand.3: Add CONFORMING TO noting that this function is unstandardized
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 16:58:22 +13:00
Michael Kerrisk
cc0dac782b
pthread_attr_setscope.3: spfix
2009-02-03 16:50:33 +13:00
Michael Kerrisk
b1e10d407d
remainder.3: SEE ALSO: add div(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 16:30:31 +13:00
Michael Kerrisk
978b249975
btowc.3: SEE ALSO: add wctob(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 16:27:50 +13:00
Michael Kerrisk
11cfb06e07
wctob.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 16:27:14 +13:00
Michael Kerrisk
a16cea5b13
wctob.3: SEE ALSO: add btowc(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 16:26:43 +13:00
Michael Kerrisk
63a6644b08
cos.3: SEE ALSO: add sincos(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 11:51:41 +13:00
Michael Kerrisk
2546a2bcd8
sin.3: SEE ALSO: add sincos(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 11:51:19 +13:00
Michael Kerrisk
34042be4ce
stpcpy.3: Add BUGS section noting the possibility of buffer overruns
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 11:43:57 +13:00
Michael Kerrisk
56e50303bb
stpcpy.3: Add missing pieces/fix various problems in example program
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 11:43:32 +13:00
Michael Kerrisk
b6898014c5
stpcpy.3: wspfix
2009-02-03 10:21:15 +13:00
Michael Kerrisk
822002bd96
stpcpy.3: CONFORMING TO: stpcpy() is nowadays on the BSDs
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 10:20:02 +13:00
Michael Kerrisk
13300ad0bb
strcpy.3: SEE ALSO: add stpcpy.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 10:15:47 +13:00
Michael Kerrisk
33a5ffc9ba
pthread_join.3: tfix
2009-02-03 10:07:29 +13:00
Michael Kerrisk
2da325d7ff
scandir.3: CONFORMING TO: alphasort() and scandir() are added to POSIX.1-2008
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 09:55:36 +13:00
Michael Kerrisk
7a4b8d3631
scandir.3: CONFORMING TO: note that versionsort() was added to glibc in version 2.1
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 09:55:24 +13:00
Michael Kerrisk
59414d4852
wcsdup.3: CONFORMING TO: note that this function was added in POSIX.1-2008
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 09:55:17 +13:00
Michael Kerrisk
d9a56b2e34
wcsncasecmp.3: CONFORMING TO: note that this function is added in POSIX.1-2008
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 09:55:07 +13:00
Michael Kerrisk
2169618626
wcscasecmp.3: CONFORMING TO: note that this function is added in POSIX.1-2008
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 09:54:43 +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
50e3cb1f98
fexecve.3: CONFORMING TO: note addition of fexecve() in POSIX.1-2008
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 09:13:23 +13:00
Michael Kerrisk
afcfe2900a
fexecve.3: 'fd' must be opened read-only and refer to a file that is executable
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 08:19:51 +13:00
Michael Kerrisk
0f7552d2a8
fexecve.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 07:53:09 +13:00
Michael Kerrisk
2d64f60e4d
random.3: SEE ALSO: add random_r(3)
...
Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-02 18:34:41 +13:00
Michael Kerrisk
7bbac16345
qsort.3: EXAMPLE: remove unnecessary "#include <stdlib.h>"
...
Reported-by: Christian Siebert <christian.siebert@s2000.tu-chemnitz.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-02 02:00:10 +13:00
Michael Kerrisk
6255c227d7
pthread_attr_setaffinity_np.3: SYNOPSIS: Fix declaration of 'attr'
...
Reported-by: Satyam Sharma <ssatyam@cse.iitk.ac.in>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-02 01:59:57 +13:00
Michael Kerrisk
f5d458e6fe
intro.3: SEE ALSO: add libc(7)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-01 00:19:04 +13:00
Michael Kerrisk
c67e8ae963
pthread_kill_other_threads_np.3: New page documenting pthread_kill_other_threads_np(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-28 16:34:49 +01:00
Michael Kerrisk
abb1d278d7
pthread_kill.3: New page documenting pthread_kill(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-28 16:34:43 +01:00
Michael Kerrisk
de8fc4be0d
mq_notify.3: Add cross reference to pthread_attr_init(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-27 02:43:49 +01:00
Michael Kerrisk
10e83d4682
offsetof.3: srcfix: remove out-of-date FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-27 02:39:25 +01:00
Michael Kerrisk
cf499212e7
sigwait.3: Add EXAMPLES section referring to pthread_sigmask(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-27 02:36:07 +01:00
Michael Kerrisk
b4ed795729
pthread_sigmask.3: New page documenting pthread_sigmask(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-27 02:34:56 +01:00
Michael Kerrisk
2472260fff
isalpha.3: Fix statement that isalpa() is obsolete; should be isascii()
...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512709
Reported-by: Guillem Jover <guillem@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-24 00:14:35 +01:00
Petr Baudis
d664f7cecf
getifaddrs.3: Various small fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-22 21:22:00 +01:00
Michael Kerrisk
8aa7b8ebca
getifaddrs.3: srcfix: Remove FIXME
2009-01-22 21:13:37 +01:00
Michael Kerrisk
825e43f0f9
getifaddrs.3: srcfix: Remove FIXME
2009-01-22 21:12:04 +01:00
Lucio Maciel
54457ec1f3
getifaddrs.3: Fix memory leak in example program
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-22 21:08:56 +01:00
Florentin Duneau
bb9554432c
getrpcent.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-22 20:53:07 +01:00
Michael Kerrisk
0b0b6c0a2b
getumask.3: Updated glibc version number in NOTES
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-20 15:27:12 +13:00
Michael Kerrisk
74ee79b977
Removed trailing white space at end of lines
2009-01-19 17:12:10 +13:00
Michael Kerrisk
373d0736d1
endian.3: CONFORMING TO: Explain differences in function names across systems
...
glibc/NetBSD/FreeBSD follow a naming convention for these
functions that unfortunately differs from that originally
established by OpenBSD's implementation.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-18 14:20:36 +13:00
Michael Kerrisk
d1a7f7d9f4
strsep.3: BUGS: explicitly list problems afflicting strsep()
...
Previously, the page said this function suffered the same
problems as strtok(), but in fact strsep() doesn't suffer
from all of the same problems as strtok(), so explicitly
list just the problems of strsep() in the strsep.3 page.
Reported-by: Marc Lehmann <schmorp@schmorp.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-15 07:12:58 +13:00
Michael Kerrisk
132719a5d9
strtok.3: Minor: small rewording in BUGS
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-15 06:30:33 +13:00
Michael Kerrisk
7bb33c46ef
strtok.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-15 06:20:17 +13:00
Michael Kerrisk
fbb2bb4e34
sethostid.3: Rename file (was misnamed sethostd.3 in previous release)
...
Reported-by: Martin (Joey) Schulze <joey@infodrom.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-15 06:01:36 +13:00
Michael Kerrisk
095fdaea89
byteorder.3: SEE ALSO: add endian(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 23:23:17 +13:00
Michael Kerrisk
f7c3598ef1
htobe16.3 htole16.3 be16toh.3 le16toh.3 htobe32.3 htole32.3 be32toh.3 le32toh.3 htobe64.3 htole64.3 be64toh.3 le64toh.3: New link to new endian.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 23:23:06 +13:00
Michael Kerrisk
d35a667305
endian.3: New page documenting byte order conversion functions
...
Document functions (new in glibc 2.9) for conversion between
host byte order and big-/little- endian byte order:
htobe16(), htole16(), be16toh(), le16toh(),
htobe32(), htole32(), be32toh(), le32toh(),
htobe64(), htole64(), be64toh(), le64toh()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 23:04:12 +13:00
Michael Kerrisk
43e77e4380
freeifaddrs.3: New link to new getifaddrs.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 16:23:10 +13:00
Petr Baudis
413b97573e
getifaddrs.3: New page documenting getifaddrs(3) and freeifaddrs(3)
...
Many edits and changes of Petr's initial draft by mtk
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 16:22:59 +13:00
Michael Kerrisk
01c0d450f9
memccpy.3: Fix CONFORMING TO: s/C99/POSIX.1-2001/
...
Reported-by: Mads Martin Joergensen <mmj@mmj.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 10:41:53 +13:00
Michael Kerrisk
497be851c2
memccpy.3: If the memory areas overlap, the results are undefined
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 10:41:53 +13:00
Michael Kerrisk
e739a26839
setjmp.3: Clarify when setjmp() provides BSD vs System V signal mask semantics
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 10:41:44 +13:00
Michael Kerrisk
1192ed9476
longjmp.3, setjmp.3: Clarify wording re saving/restoring signal mask
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 10:41:43 +13:00
Michael Kerrisk
78604af5bf
longjmp.3: siglongjmp() only restores signal mask iff 'savesigs' was non-zero
...
Note that siglongjmp() only restores signal mask if, and only
if, 'savesigs' argument of sigsetjmp() was non-zero. (Previous
text omitted the "and only if".)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 10:41:31 +13:00
Adeodato Sim
c1f3b740e8
malloc.3: tfix: RETURN VALUE: s/realloc/calloc/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 13:50:08 +13:00
Michael Kerrisk
2c4432fc51
gethostid.3: tstamp
2009-01-13 08:52:13 +13:00
Michael Kerrisk
c18ecec98b
dlopen.3, ld.so.8: SEE ALSO: add rtld-audit(7)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 08:47:47 +13:00
Michael Kerrisk
24ad017de2
clock_getres.3: SEE ALSO: Add pthread_getcpuclockid(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 08:37:49 +13:00
Michael Kerrisk
0d6cdbf56d
pthread_getcpuclockid.3: minor: remove extraneous source comment
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 08:37:49 +13:00
Michael Kerrisk
c0d72e9ef9
pthread_getcpuclockid.3: New page documenting pthread_getcpuclockid(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 08:37:49 +13:00
Michael Kerrisk
f9d5bb737b
gethostid.3: Before version 2.2, glibc stored the host ID in /var/adm/hostid
...
Also: rewrite some text describing the /etc/hostid file, so that
this location is referred to just once on the page.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 08:37:48 +13:00
Michael Kerrisk
4c98d1203b
gethostid.3: Added ERRORS section describing errors for sethostid()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 08:37:48 +13:00
Michael Kerrisk
0482681627
gethostid.3: RETURN VALUE: describe return value of sethostid()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 08:37:48 +13:00
Michael Kerrisk
9caf825633
gethostid.3: Minor wording improvements
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 08:37:47 +13:00
Michael Kerrisk
525748e03a
gethostid.3: Added BUGS section noting that ID can't be guaranteed to be unique
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 08:37:47 +13:00
Michael Kerrisk
963efe88c5
gethostid.3: Update section number to reflect relocation into Section 3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 08:37:31 +13:00
Michael Kerrisk
a1096a314e
sethostid.3: New link to relocated page in Section 3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 07:04:35 +13:00
Michael Kerrisk
1f4f66a924
gethostid.2: Move to Section 3
...
The interfaces documented in this page are purely glibc.
Reported-by: Colin Watson <cjwatson@ubuntu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 07:00:44 +13:00
Florentin Duneau
de90951b73
CPU_SET.3: tfix
...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510507 .
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-12 23:22:09 +13:00
Michael Kerrisk
08f8825735
printf.3: Source and destination buffers may not overlap for *s*printf()
...
http://sourceware.org/bugzilla/show_bug.cgi?id=7075
Some existing code relies on techniques like the following to
append text to a buffer:
$ cat s.c
#include <stdio.h>
char buf[80] = "not ";
main()
{
sprintf(buf, "%sfail", buf);
puts(buf);
return 0;
}
$ cc s.c
$ ./a.out
not fail
However, the standards say the results are undefined if source
and destination buffers overlap, and with suitable compiler
options, recent changes can cause unexpected results:
$ cc -v 2>&1 | grep gcc
gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux)
$ cc -D_FORTIFY_SOURCE -O2 s.c
$ ./a.out
fail
Reported-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-19 11:47:04 -05:00
Petr Baudis
4209865fa4
crypt.3: ffix
...
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-19 10:03:18 -05:00
Michael Kerrisk
6a5dd8b393
readdir.3: Clarify text for return value/errno setting for end-of-stream case
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-19 09:36:12 -05:00
Michael Kerrisk
4b3caf6feb
readdir.3: Rewrite text describing 'dirent' fields standardized in POSIX.1
2008-12-19 09:00:58 -05:00
Petr Baudis
450c838664
dlopen.3: Minor fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-06 12:11:51 -05: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
8ccde1f0a5
Removed trailing white space at end of lines
2008-12-05 22:53:52 -05:00
Michael Kerrisk
5cedb08f41
bindresvport.3: Fix errors regarding port used, plus other rewrites
...
Glibc's bindresvport() takes no notice of sin->sin_port:
it always returns an arbitrary reserved port in the
anonymous range (512-1023). (Reported by Mats Wichmann.)
Also:
* Add EADDRINUSE and EACCES errors.
* Mention use of getsockname(2).
* Other minor rewrites and reorderings of the text.
* Explicitly note that glib's bindresvport() ignores
sin->sin_port.
* Change license There's now virtually no text remaining from
the 1.70 version of this page.
Reported-by: Mats Wichmann <mats.d.wichmann@intel.com>
Reviewed-by: Mats Wichmann <mats.d.wichmann@intel.com>
Reviewed-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:26 -05:00
Michael Kerrisk
6eb334b2cf
bind.2, rcmd.3, capabilities.7, ip.7: Global fix: s/reserved port/privileged port/
...
Some pages used one term, some pages the other term;
make some consistency.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:26 -05:00
Michael Kerrisk
97aec57c6f
setlocale.3, locale.7: Clean up the description of LANGUAGE environment variable
...
Clean up the $LANGUAGE description, by removing bogus comments
from setlocale(3) and expanding the mention in locale(7).
Maybe you will decide that a more detailed description should be left
to the gettext(3) documentation, but I actually care about the invisible
part of the patch more since the comments have put me off the track
initially ($LANGUAGE has nothing to do with setlocale(3) and is
completely isolated to gettext, as obvious from the glibc sources).
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:25 -05:00
Michael Kerrisk
f439817725
dlopen.3: wsfix
2008-12-05 22:47:25 -05:00
Michael Kerrisk
1d2c48b3a7
dlopen.3: ffix
2008-12-05 22:47:25 -05:00
Petr Baudis
27a61e8622
dlopen.3: Describe confusing dladdr() behavior
...
dladdr() will act unexpectedly if called from non-pic code on a
compile-time-generated function pointer:
/* test_dladdr.c */
#define _GNU_SOURCE
#include <dlfcn.h>
#include <stdio.h>
int
main(void)
{
void *func;
Dl_info info = {};
func = printf;
dladdr(func, &info);
printf("%s at %p resolved from %s\n", info.dli_sname,
func, info.dli_fname);
return 0;
}
$ cc test_dladdr.c -ldl
$ ./a.out
printf at 0x804838c resolved from ./a.out
$ cc -fPIC test_dladdr.c -ldl
$ ./a.out
_IO_printf at 0xb7f71c30 resolved from /lib/libc.so.6
In the long term, it might make sense to make dladdr() recognize
plt pointers and recurse, but I'm too afraid of Ulrich ;-)
(and he seems to be heavy proponent of pic code anyway, so
the chances for that to be accepted probably aren't high).
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:25 -05:00
Michael Kerrisk
8461e2c703
memmem.3: Remove sentence saying that libc 5.0.9 is still widely used
...
That was a *long* time ago.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:23 -05:00
Michael Kerrisk
6a02322941
memmem.3: grfix wfix
2008-12-05 22:47:23 -05:00
Michael Kerrisk
f84addeb7f
memmem.3: ffix
2008-12-05 22:47:23 -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
Petr Baudis
8a4051693d
open_wmemstream.3: New link to fmemopen.3
...
fmemopen.3 now documents open_wmemstream().
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
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
00269a5a24
getaddrinfo.3: Document results ordering and /etc/gai.conf
...
This patch documents the order of the getaddrinfo(3) results
(RFC 3484), how should the application deal with that,
mentions the extremely common cause of having multiple
results per query (both IPv4 and IPv6 addresses available)
and mentions /etc/gai.conf.
(mtk: Minor tweaks, and note glibc version for /etc/gai.conf)
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
a2f86747f1
fopencookie.3: fopencookie() needs _GNU_SOURCE feature test macro
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:21 -05:00
Petr Baudis
5f0aa64a2e
fopen.3: SEE ALSO: Add fmemopen(3) and fopencookie(3)
...
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
2656acee7d
atexit.3: Calling exit(3) more than once produces undefined results
...
If an exit handler itself calls exit(3), the results are
undefined (see the POSIX.1-2001 specification of exit(3)).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:20 -05:00
Michael Kerrisk
db217984ec
atexit.3: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:20 -05:00
Michael Kerrisk
ee394477fa
atexit.3: The same exit handler may be registered multiple times
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:20 -05:00
Michael Kerrisk
41bf770ca3
atexit.3: Calling _exit(2) terminates processing of exit handlers
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:20 -05:00
Michael Kerrisk
374b9a8f7b
atexit.3: atexit() and on_exit(3) register functions on the same list
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:19 -05:00
Michael Kerrisk
84fc5566f5
atexit.3: Terminating registered function using longjmp() is undefined
...
According to POSIX.1, using longjmp() to terminate execution of
a function registered using atexit() produces undefined results.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:19 -05:00
Michael Kerrisk
7c298e468d
atexit.3: Terminating registered function using longjmp() is undefined
...
According to POSIX.1, using longjmp() to terminate execution of
a function registered using atexit() produces undefined results.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:19 -05:00
Michael Kerrisk
d8437814df
on_exit.3: Arg given to registered function is status from *last* call to exit()
...
It's a subtle point, but if a registered function itself
calls exit(3), then subsequent functions that were registered
with on_exit(3) will see the exit status given to the more
recent exit(3) call.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:19 -05:00
Michael Kerrisk
36a0cc2596
on_exit.3: Document handling of registrations on fork(2) and execve(2)
...
Treatment in these cases is the same as for atexit(3).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:19 -05:00
Michael Kerrisk
6a275cde4d
on_exit.3: Note that same function may be registered multiple times
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:18 -05:00
Michael Kerrisk
22a33e86af
envz_add.3, wordexp.3: wsfix
2008-12-05 22:47:18 -05:00
Michael Kerrisk
df4ab0f63f
pthread_cleanup_pop_restore_np: New link to new pthread_cleanup_push_defer_np.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:17 -05:00
Michael Kerrisk
f06b4f5c47
pthread_cleanup_push_defer_np.3: New page for pthread_cleanup_push_defer_np(3) and pthread_cleanup_pop_restore_np(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:29:01 -05:00
Michael Kerrisk
46c0fadf3a
remove.3: Minor rewordings
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:29:00 -05:00
Michael Kerrisk
0c637bbd95
isatty.3: ffix wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:29:00 -05:00
Michael Kerrisk
fac9854624
isatty.3: Complete rewrite of this page, with rather more detail
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:29:00 -05:00
Michael Kerrisk
c4e7b71426
getpeername.2, getsockname.2, getsockopt.2, recv.2, send.2, shutdown.2, sockatmark.3, socket.7, udplite.7: SYNOPSIS: Rename socket file descriptor argument to 'sockfd'
...
Many sockets man pages use the name 'sockfd' already.
For consistency, changes the others to do so as well.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:56 -05:00
Mats Wichmann
4510cb9d07
bindresvport.3: SYNOPSIS: s/\*\*/*/ in prototype
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:56 -05:00
Mats Wichmann
56b2037871
bindresvport.3: wfix tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:56 -05:00
Andries E. Brouwer
be4c136ad5
atan.3: Fix return value description
...
The correct range for the return value is [-pi/2,pi/2].
(mtk's fix in the last change to the return value text was
a botch-up of a (correct) suggestion by Nicolas Francois.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:55 -05:00
Michael Kerrisk
2bada9cfe0
makedev.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:55 -05:00
Michael Kerrisk
0382510bc1
makedev.3: srcfix: remove FIXMEs
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:54 -05:00
Michael Kerrisk
4770bc9118
gnu_dev_major.3, gnu_dev_makedev.3, gnu_dev_minor.3, major.3, minor.3: New links to new makedev(3) page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:54 -05:00
Michael Kerrisk
47a0131ab7
makedev.3: New page for makedev(), major(), and minor() macros
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reviewed-by: Phil Endecott <phil_vonar_endecott@chezphil.org>
2008-12-05 22:28:54 -05:00
Sam Varshavchik
314c72c381
CPU_SET.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-28 11:18:52 -05:00
Michael Kerrisk
a113945faa
Removed trailing white space at end of lines
2008-11-25 21:44:53 -05:00
Michael Kerrisk
a86f0a4b0e
pthread_setcancelstate.3: Add another sentence to NOTES on asynchronous cancelability
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:26 -05:00
Michael Kerrisk
f5410853fb
pthread_setcancelstate.3: spfix
2008-11-25 20:54:26 -05:00
Michael Kerrisk
0ac743c540
pthread_cleanup_push.3: minor fix to example program
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:26 -05:00
Michael Kerrisk
f90fec66e2
pthread_cleanup_push.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:26 -05:00
Michael Kerrisk
28e00ccfa5
pthread_cleanup_push.3: Prematurely exiting a cleanup block is undefined according to POSIX.1
...
POSIX.1 says that prematurely exiting a push/pop block
yields undefined results.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:25 -05:00
Michael Kerrisk
ee1534cb43
pthread_setcancelstate.3: integrated suggestions by Loic Domaigne
...
Loic Domaigne suggested some rewordings of the NOTES paragraph
that discusses the utility of asynchronous cancelability.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reviewed-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:24 -05:00
Pierre-Paul Paquin
a3dadfe86f
sigwait.3: wfix: s/set/sig/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:24 -05:00
Michael Kerrisk
5a2ff571fb
connect.2, listen.2, send.2, uname.2, cmsg.3, proc.5, arp.7, ddp.7, icmp.7, ip.7, raw.7, socket.7, tcp.7, udp.7: Global fix: eliminate mention of the obsolete sysctl(2) interface
...
Many pages still mention use of the obsolete sysctl(2) system
call, or used the term "sysctls"; rewrite these mentions to
instead be in terms of /proc interfaces.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:11 -05:00
Stefano Teso
d62d92dc5f
atan2.3: Fix description of range of function value return
...
The range is not [-pi/2, pi/2], but [-pi, pi].
(mtk: This error was reported by Nicolas Francois, and
should have been fixed in 3.11, but somewhere along the way,
the fix got lost.)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506299
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:09 -05:00
Michael Kerrisk
71fea60784
fcntl.2, signal.2, mbsnrtowcs.3, mbsrtowcs.3, mbtowc.3, wcrtomb.3, wcsnrtombs.3, wcsrtombs.3, wctomb.3: Global fix: s/multi-thread/multithread/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:08 -05:00
Michael Kerrisk
222d90f4e9
pthread_getattr_np.3, pthread_setschedparam.3: wfix
2008-11-25 20:54:04 -05:00
Michael Kerrisk
653c3aedae
pthread_cancel.3: Integrate review feedback from Loic Domaigne
...
Various fixes, as suggested by Loic.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reviewed-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:04 -05:00
Michael Kerrisk
bdd7090bea
pthread_testcancel.3: minor: Review by Loic Domaigne
...
Reviewed by Loic; no problems found.
Reviewed-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:03 -05:00
Michael Kerrisk
5b99d42600
pthread_attr_setinheritsched.3: wfix: s/thread/addr/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:03 -05:00
Michael Kerrisk
50b1e6a7f8
pthread_setschedparam.3: PTHREAD_INHERIT_SCHED is default for inherit scheduler attribute
...
In EXAMPLE, note that PTHREAD_INHERIT_SCHED is the default for
the inherit scheduler attribute attribute.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:03 -05:00
Michael Kerrisk
48718eb35f
pthread_cancel.3, pthread_detach.3, pthread_join.3, pthread_setaffinity_np.3: Make text of ESRCH error consistent
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:03 -05:00
Michael Kerrisk
4c5f54136d
pthread_attr_setschedparam.3, pthread_setschedparam.3: Remove text saying that only sched_priority is required by POSIX.1
...
Loic Domaigne points out that if a system implements
SCHED_SPORADIC (which Linux does not), then other
fields are also specified in sched_param. The simple
solution is just to remove that phrase from the man
page.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:03 -05:00
Michael Kerrisk
65cc854059
pthread_setaffinity_np.3: srcfix: spfix
2008-11-25 20:54:02 -05:00
Michael Kerrisk
803486cb45
pthread_setaffinity_np.3: srcfix: Add comment: CONFIG_NR_CPUS may become obsolete one day
2008-11-25 20:54:02 -05:00
Michael Kerrisk
d4ac23a7e2
pthread_testcancel.3: New page for pthread_testcancel(3)
2008-11-25 20:54:02 -05:00
Michael Kerrisk
ed2d523671
pthread_setcanceltype.3: New link to new pthread_setcancelstate.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:02 -05:00
Michael Kerrisk
ccb42cb832
pthread_setcancelstate.3: New page for pthread_setcancelstate(3) and pthread_setcanceltype(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:01 -05:00
Michael Kerrisk
9e528f3de9
pthread_cancel.3: New page for pthread_cancel(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:01 -05:00
Michael Kerrisk
28f09cec39
pthread_cleanup_pop.3: New link to new pthread_cleanup_push.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:01 -05:00
Michael Kerrisk
b126ec4b87
pthread_cleanup_push.3: New page for pthread_cleanup_push(3) and pthread_cleanup_pop(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:01 -05:00
Michael Kerrisk
f4efb1e28b
CPU_SET.3: NOTES: Discuss use of types in "prototypes" for these macros
...
The SYNOPSIS shows types for arguments and return values, but
these are really just suggestions: since the interfaces are
macros, the compiler won't catch all violations of
the "type rules". Warn the reader of this.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:01 -05:00
Michael Kerrisk
6ee1c2aaf5
pthread_attr_setaffinity_np.3: Various fixes after review by Loic Domaigne
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reviewed-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:01 -05:00
Michael Kerrisk
188cf22e22
pthread_create.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:00 -05:00
Michael Kerrisk
532f0406fe
pthread_setaffinity_np.3: Add text to EINVAL error mentioning cpuset(7)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:00 -05:00
Michael Kerrisk
553e8b962e
pthread_setaffinity_np.3: tfix
2008-11-25 20:54:00 -05:00
Michael Kerrisk
f5bf1e9b13
pthread_setaffinity_np.3: Various improvements after review by Loc Domaigne
...
Various fix-ups after Loc's review.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reviewed-by: Loc Domaigne <tech@domaigne.com>
2008-11-25 20:54:00 -05:00
Michael Kerrisk
23bb5732b2
pthread_attr_getinheritsched.3: New link to new pthread_attr_setinheritsched.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:59 -05:00
Michael Kerrisk
2fac17032a
CPU_SET.3: minor: tweak NOTES text on CPU_SETSIZE and 'setsize'
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:59 -05:00
Michael Kerrisk
50ee5bc147
CPU_SET.3: spfix
2008-11-25 20:53:59 -05:00
Michael Kerrisk
e973db1769
CPU_SET.3: minor: tweak text of BUGS section
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:59 -05:00
Michael Kerrisk
6924199053
CPU_SET.3: Various improvements in DESCRIPTION
...
After review comments by Bert Wesarg:
* Explain that cpu_set_t is a bitset, but should be considered
opaque.
* A CPU set can be duplicated with memset().
* Size of a CPU set is rounded up to size of long.
* CPU_SETSIZE is in bits, but the setsize argument is in bytes.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Bert Wesarg <bert.wesarg@googlemail.com>
Reviewed-by: Bert Wesarg <bert.wesarg@googlemail.com>
2008-11-25 20:53:59 -05:00
Michael Kerrisk
b62e354822
CPU_SET.3: Document CPU_ALLOC()/CPU_ALLOC_SIZE() bug
...
These macros return twice what they should because of thinko
in glibc 2.8 and earlier. The bug is fixed for glibc 2.9.
http://sourceware.org/bugzilla/show_bug.cgi?id=7029
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:58 -05:00
Michael Kerrisk
7844c4ea58
CPU_ZERO_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:57 -05:00
Michael Kerrisk
4ce33dc68a
CPU_XOR_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:57 -05:00
Michael Kerrisk
3b0122a7a8
CPU_XOR.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:57 -05:00
Michael Kerrisk
474dc065be
CPU_SET_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk
6a7fe37559
CPU_OR_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk
966280197f
CPU_OR.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk
f4c2bad396
CPU_ISSET_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk
d008b874b2
CPU_FREE.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk
ca8a860474
CPU_EQUAL_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:55 -05:00
Michael Kerrisk
0e972f10fb
CPU_EQUAL.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:55 -05:00
Michael Kerrisk
dc23951093
CPU_COUNT_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:55 -05:00
Michael Kerrisk
ff07d3d53e
CPU_CLR_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:55 -05:00
Michael Kerrisk
94ed3c6315
CPU_AND_S.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:54 -05:00
Michael Kerrisk
25717f3a2b
CPU_AND.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:54 -05:00
Michael Kerrisk
e0685b4078
CPU_ALLOC_SIZE.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:54 -05:00
Michael Kerrisk
6dc17d0692
CPU_ALLOC.3: New link to new CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:54 -05:00
Michael Kerrisk
214c1dd290
CPU_SET.3: grfix
2008-11-25 20:53:54 -05:00
Michael Kerrisk
aa633a586d
CPU_SET.3: Fix return type of CPU_ALLOC_SIZE() in SYNOPSIS
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk
488d0e98f3
CPU_SET.3: Add description of macros for dynamically allocated CPU sets
...
Add descriptions of CPU_ALLOC(), CPU_ALLOC_SIZE(), CPU_FREE(),
CPU_SET_S(), CPU_CLR_S(), CPU_ISSET_S(), CPU_ZERO_S(),
CPU_COUNT_S(), CPU_AND_S(), CPU_OR_S(), CPU_XOR_S(), and
CPU_EQUAL_S().
2008-11-25 20:53:53 -05:00
Michael Kerrisk
94934ae71c
CPU_SET.3: Add description of CPU_AND(), CPU_OR, CPU_XOR(), and CPU_EQUAL()
...
Plus a few other small clean-ups of the text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk
df79be827a
CPU_SET.3: minor: reorder some text, whitespace fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk
f7eec8970c
CPU_SET.3: minor: s/1024/currently 1024/ for description of CPU_SETSIZE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk
f48bf14117
CPU_COUNT.3: New link to CPU_SET.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk
639c5cc8c3
CPU_SET.3: Add documentation of CPU_COUNT()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:52 -05:00
Michael Kerrisk
ef5694bc07
pthread_attr_setaffinity_np.3: spfix
2008-11-25 20:53:52 -05:00
Michael Kerrisk
bd5bb13000
pthread_attr_setaffinity_np.3, pthread_setaffinity_np.3: Remove redundant text relating to CPU sets
...
Information about CPU_SETSIZE can be found in CPU_SET.3, so
remove discussion of it here.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:46 -05:00
Michael Kerrisk
8e223af2e3
pthread_attr_setaffinity_np.3, pthread_setaffinity_np.3: Update to reflect new location of CPU_*() documentation
...
The CPU_*() macros are now documented in CPU_SET.3;
update to reflect that fact.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:56 -05:00
Michael Kerrisk
089de1d271
CPU_CLR.3, CPU_ISSET.3, CPU_ZERO.3: Update links to point to CPU_SET.3
...
The documentation of the CPU_* macros migrated to a new location:
CPU_SET.3.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:56 -05:00
Michael Kerrisk
a9cdb1db67
CPU_SET.3: New page documenting CPU_* macros
...
This page contains material moved out of sched_setscheduler(2).
It overwrites a previously existing link file with the same name.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:56 -05:00
Masanari Iida
ed27948551
syslog.3: LOG_KERN messages can't be generated from user processes
...
Masanari notes that this is an FAQ for logger(1) and that
Solaris and FreeBSD document this point in syslog(3).
The glibc info page also hides this comment in its source:
Internally, there is also LOG_KERN, but LOG_KERN == 0,
which means if you try to use it here, just selects default.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:50 -05:00
Michael Kerrisk
64c85cc4ca
syslog.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-12 11:26:17 -05:00
Michael Kerrisk
cc7ffe866d
inet_ntop.3: Rework text describing 'size' argument
...
(After a suggestion by Vegard Nossum.)
Also made a few other small rewordings to in the initial
paragraph.
Reported-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 15:10:53 -05:00
Michael Kerrisk
f961f9c1ab
inet_ntop.3: Rename 'cnt' argument to 'size'
...
This is consistent with POSIX.1, and also a more sensible name.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 15:05:07 -05:00
Michael Kerrisk
940c8ce244
getdents.2, pthread_attr_init.3, pthread_create.3, pthread_getattr_np.3, pthread_setaffinity_np.3, pthread_setschedparam.3, pthread_tryjoin_np.3: Use consistent error-handling function names
...
Many older pages use a handle_error() macro to do simple
error handling from system and library function calls.
Switch these pages to do similar.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 14:51:13 -05:00
Michael Kerrisk
13466d9898
pthread_tryjoin_np.3: minor: tidy up example code segment
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 14:51:13 -05:00
Michael Kerrisk
b6a82811c7
pthread_attr_setinheritsched.3: New page for pthread_attr_setinheritsched(3) and pthread_attr_getinheritsched(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-10 12:17:19 -05:00
Michael Kerrisk
2cbeeec32c
bindresvport.3: Since glibc 2.8, EPFNOSUPPORT error is now EAFNOSUPPORT
...
Glibc switched to using a POSIX-specified error code for
this error case.
http://bugs.linuxbase.org/show_bug.cgi?id=2375
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Stew Benedict <stewb@linux-foundation.org>
2008-11-10 12:12:02 -05:00
Michael Kerrisk
515ad54217
makecontext.3: grfix
2008-11-07 20:57:48 -05:00
Michael Kerrisk
7acf73dc37
makecontext.3: Add text on use of pointer arguments to makecontext()
...
Passing pointer arguments to makecontext() is possible,
but only on some architectures, and with no guarantees
of portability.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504699
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Paul Evans <leonerd@leonerd.org.uk>
2008-11-07 20:31:15 -05:00
Michael Kerrisk
c6ec368541
getpwnam.3: Add an EXAMPLE program for getpwnam_r()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-07 17:51:33 -05:00
Michael Kerrisk
3b11a49415
getgrnam.3: Rename arguments to getgrnam_r() and getgrgid_r()
...
s/gbuf/grp/ and s/gbufp/result/, for consistency
with POSIX.1 argument names.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-07 17:51:32 -05:00
Michael Kerrisk
3adc12e97f
getpwnam.3: Rename arguments to getpwnam_r() and getpwuid_r()
...
s/pwbuf/pwd/ and s/pwbufp/result/, for consistency
with POSIX.1 argument names.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-07 17:51:32 -05:00
Michael Kerrisk
2ac1e1d3d4
getgrnam.3: Clarify and add more detail in RETURN VALUE description
...
The page was a bit fuzzy in describing the return values for
various cases. In particular, it needed to be more explicit
in describing what happens for the "not found" case.
This is an analogous change to the previous change for
getpwnam.3, made after Andreas Henriksson's report.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504787
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-07 17:51:32 -05:00
Michael Kerrisk
bbab485de0
getpwnam.3: Clarify and add more detail in RETURN VALUE description
...
The page was a bit fuzzy in describing the return values for
various cases. In particular, it needed to be more explicit
in describing what happens for the "not found" case.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504787
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Andreas Henriksson <andreas@fatal.se>
2008-11-07 17:51:32 -05:00
Michael Kerrisk
b006e083a0
getgrnam.3: Clarify RETURN VALUE description
...
The page was a bit fuzzy in describing the return values for
various cases. In particular, it needed to be more explicit
in describing what happens for the "not found" case.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504708
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Andreas Henriksson <andreas@fatal.se>
2008-11-07 17:51:32 -05:00
Michael Kerrisk
a6915393f0
clock_getres.3: wfix
2008-11-07 17:51:31 -05:00
Michael Kerrisk
b3f72461cb
clock_getres.3: srcfix: Added FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-07 17:51:31 -05:00
Michael Kerrisk
9eb0c11cb5
pthread_attr_getaffinity_np.3: Fix circular self-link reference
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-07 17:51:30 -05:00
Michael Kerrisk
a5bba85928
pthread_getattr_np.3, pthread_tryjoin_np.3: tstamp
2008-11-07 17:51:30 -05:00
Michael Kerrisk
d668e4b3bb
pthread_setschedparam.3: tfix
2008-11-07 17:51:30 -05:00
Michael Kerrisk
437b9d9c2f
pthread_attr_setschedparam.3: tfix
2008-11-07 17:51:29 -05:00
Michael Kerrisk
4c3586b390
pthread_attr_setschedpolicy.3: minor: s/policy/*policy/ in SYNOPSIS
2008-11-07 17:51:29 -05:00
Michael Kerrisk
dc05a5d50c
pthread_attr_setschedpolicy.3: ffix
2008-11-07 17:51:29 -05:00
Michael Kerrisk
3847be7851
clock_getres.3: CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID not settable
...
According to POSIX.1-2001, the CLOCK_PROCESS_CPUTIME_ID and
CLOCK_THREAD_CPUTIME_ID clocks should be settable, but
currently they are not.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-07 17:51:16 -05:00
Michael Kerrisk
4888dfbf49
pthread_setschedprio.3: New page for pthread_setschedprio(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:27 -05:00
Michael Kerrisk
a1ca96443e
pthread_setschedparam.3: Rework text pointing to information on required permissions
...
Rework the text that refers to sched_setscheduler(2) for
a description of the permissions required to change
the scheduling policy and priority.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:27 -05:00
Michael Kerrisk
cb4db101d2
pthread_setschedparam.3: SEE ALSO: add getrlimit(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:26 -05:00
Michael Kerrisk
1f62722442
pthread_attr_setschedpolicy.3: Add pointer to EXAMPLE in pthread_setschedparam(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:26 -05:00
Michael Kerrisk
2c5f1561a6
pthread_attr_setschedparam.3: Add pointer to EXAMPLE in pthread_setschedparam(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:26 -05:00
Michael Kerrisk
f51fabeb1a
pthread_getschedparam.3: New link to new pthread_setschedparam.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:26 -05:00
Michael Kerrisk
bec63ef665
pthread_setschedparam.3: New page for pthread_setschedparam(3) and pthread_getschedparam(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:26 -05:00
Michael Kerrisk
ce5139ca28
pthread_create.3, pthread_getattr_np.3: ffix: s/'/\\(aq/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:26 -05:00
Michael Kerrisk
f1e29e2764
pthread_attr_setschedpolicy.3: srcfix: Added FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:25 -05:00
Michael Kerrisk
e7d2bb653d
pthread_setaffinity_np.3: SEE ALSO: add pthread_self(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:25 -05:00
Michael Kerrisk
83a87192af
resolver.3: Fix prototype of dn_expand()
...
The 4th argument is "char *", not "unsigned char *".
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504708
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Trk Edwin <edwintorok@gmail.com>
2008-11-06 16:49:25 -05:00
Michael Kerrisk
cbdc74c919
pthread_setaffinity_np.3: SEE ALSO: add sched_getcpu(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:06 -05:00
Michael Kerrisk
a4963c7c62
pthread_attr_getschedparam.3: New link to new pthread_attr_setschedparam.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:06 -05:00
Michael Kerrisk
b326494cc0
pthread_attr_setschedparam.3: New page for pthread_attr_setschedparam(3) and pthread_attr_getschedparam(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:06 -05:00
Michael Kerrisk
d71915efe6
pthread_attr_getschedpolicy.3: New link to new pthread_attr_setschedpolicy.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:05 -05:00
Michael Kerrisk
2f80dc3711
pthread_attr_setschedpolicy.3: New page for pthread_attr_setschedpolicy(3) and pthread_attr_getschedpolicy(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:05 -05:00
Michael Kerrisk
c2befb6a93
pthread_attr_setstacksize.3: EINVAL occurs on some systems if stacksize != page-size
...
On MacOS X at least, pthread_attr_setstacksize(3) can fail
with EINVAL if 'stacksize' is not a multiple of the system
page size. Best to mention this so as to aid people writing
portable programs.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Karsten Weiss <knweiss@gmail.com>
==
From: Karsten Weiss <knweiss@gmail.com>
Date: Fri, Oct 31, 2008 at 3:46 PM
Subject: pthread_create(3) - example bug + problems
[...]
A look in the pthread_set_stacksize man page on Mac revealed that on
Mac the stack size must not only be at least PTHREAD_STACK_MIN...
[...]
...but the new stack size must also be a multiple of the system page
size!
From pthread_attr_setstacksize(3):
pthread_attr_setstacksize() will fail if:
[EINVAL] Invalid value for attr.
[EINVAL] stacksize is less than PTHREAD_STACK_MIN.
!!! [EINVAL] stacksize is not a multiple of the system page size.
See for yourself (PTHREAD_STACK_MIN==8192 on Mac OS X):
$ ./pthread_test -s $((8192*10-1)) a
pthread_attr_setstacksize: Invalid argument
$ ./pthread_test -s $((8192*10)) a
Thread 1: top of stack near 0xb0014f6c; argv_string=a
Joined with thread 1; returned value was A
$ ./pthread_test -s $((8192*10+1)) a
pthread_attr_setstacksize: Invalid argument
2008-11-06 16:49:05 -05:00
Karsten Weiss
061f742a28
pthread_create.3: Fix bug in EXAMPLE program
...
The bug is in this part of the code:
/* Allocate memory for pthread_create() arguments */
tinfo = calloc(num_threads, num_threads);
if (tinfo == NULL)
errExit("calloc");
The calloc() line should read like this instead:
tinfo = calloc(num_threads, sizeof(struct thread_info));
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:05 -05:00
Michael Kerrisk
c94081aa45
pthread_attr_setaffinity_np.3, pthread_getattr_np.3, pthread_setaffinity_np.3, pthread_tryjoin_np.3: Explain _np suffix
...
Add text to CONFORMING TO explaining that the "_np"
suffix is because these functions are non-portable.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Karsten Weiss <K.Weiss@science-computing.de>
2008-11-06 16:49:05 -05:00
Michael Kerrisk
ea75a357a4
pthread_attr_setaffinity_np.3: Remove EFAULT, add new EINVAL error
...
EFAULT can't occur for these functions. EINVAL can occur
for invalid 'attr' or 'cpuset' arguments.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:48:56 -05:00
Michael Kerrisk
7415e59a75
pthread_attr_getaffinity_np.3: New link to new pthread_attr_setaffinity_np.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:48:54 -05:00
Michael Kerrisk
f94536275a
pthread_attr_setaffinity_np.3: New page for pthread_attr_setaffinity_np(3) and pthread_attr_getaffinity_np(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:48:54 -05:00
Michael Kerrisk
ae107f5822
pthread_setaffinity_np.3: tfix
2008-11-06 16:48:54 -05:00
Michael Kerrisk
04128e1a06
pthread_setaffinity_np.3: minor: fix function names in EXAMPLE diagnostic messages
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:48:54 -05:00
Michael Kerrisk
d67ec7daf3
pthread_setaffinity_np.3: minor: Clean up SEE ALSO list
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:48:53 -05:00
Michael Kerrisk
7fec28f02a
pthread_getaffinity_np.3: New link to new pthread_setaffinity_np.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:48:53 -05:00
Michael Kerrisk
5655765fdd
pthread_setaffinity_np.3: New page for pthread_setaffinity_np(3) and pthread_getaffinity_np(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:48:39 -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
Sam Varshavchik
5b4e617fa4
pthread_tryjoin_np.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-04 09:00:41 -05:00
Michael Kerrisk
257f73f262
pthread_exit.3: BUGS: thread group with a dead leader and stop signals
...
Document the bug that can occur when a stop signal
is sent to a thread group whose leader has terminated.
http://thread.gmane.org/gmane.linux.kernel/611611
http://marc.info/?l=linux-kernel&m=122525468300823&w=2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Bert Wesarg <bert.wesarg@googlemail.com>
2008-10-30 10:56:59 -05:00
Michael Kerrisk
c5571b613b
Removed trailing white space at end of lines
2008-10-29 15:43:44 -05:00
Michael Kerrisk
08c9b488f4
timerfd_create.2, ctime.3, frexp.3, strftime.3, strtok.3, tty_ioctl.4, iso_8859-7.7: tstamp
2008-10-29 15:36:12 -05:00
Christoph Hellwig
2250b3eea5
readdir.3: Fix text relating to DT_UNKNOWN and 'd_type' support
...
(This mirrors the previous change to getdents.2)
Some file systems provide partial support for 'dt_type',
returning DT_UNKNOWN for cases they don't support.
Update the discussion of 'd_type' and DT_UNKNOWN to
support this.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:27 -05:00
Michael Kerrisk
a87c4a1da3
getaddrinfo.3: Clarify error descriptions with some examples
...
Clarify the description of some errors by giving examples
that produce the errors. (Text added for EAI_SERVICE and
EAI_SOCKTYPE.)
Also, add an error case for EAI_BADFLAGS.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: J.H.M. Dassen (Ray) <fsmla@xinara.org>
2008-10-29 14:54:26 -05:00
Jason Spiro
9031fc7ae5
strcpy.3: Strengthen warning about checking against buffer overruns
...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413940
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:25 -05:00
Michael Kerrisk
213bea670e
getaddrinfo.3: minor: Add subheadings to EXAMPLE programs
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:24 -05:00
Michael Kerrisk
b522208e56
err.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:24 -05:00
Michael Kerrisk
e05ccae540
encrypt.3: minor: remove mention of glibc version from EXAMPLE
...
The relevant text applies to any version of glibc,
so the version number is not needed.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:24 -05:00
Michael Kerrisk
f91bef833f
div.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:24 -05:00
Michael Kerrisk
a831ef971d
frexp.3, strftime.3, strtok.3: Global fix: relocate shell session above example program
...
Move the shell session text that demonstrates the use of
the example program so that it precedes the actual
example program. This makes the page consistent with the
majority of other pages.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:24 -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
624c0456a7
offsetof.3: ffix
2008-10-29 14:54:22 -05:00
Michael Kerrisk
01f1f222a5
strtok.3: ffix
2008-10-29 14:54:22 -05:00
Michael Kerrisk
a173b8c674
strftime.3: ffix
2008-10-29 14:54:22 -05:00
Michael Kerrisk
5497345840
fmemopen.3: ffix
2008-10-29 14:54:22 -05:00
Michael Kerrisk
630a1725b5
pthread_attr_setstacksize.3: wfix: s/pthread_attr_setscope/pthread_attr_setstacksize/
...
Reported-by: Stefan Puiu <stefan.puiu@gmail.com>
2008-10-29 14:54:19 -05:00
Michael Kerrisk
49c54dd821
pthread_attr_setstack.3: wfix: s/pthread_attr_setscope/pthread_attr_setstack/
...
Reported-by: Stefan Puiu <stefan.puiu@gmail.com>
2008-10-29 14:54:19 -05:00
Michael Kerrisk
65f6a3ee6d
dlopen.3: LD_LIBRARY_PATH is inspected once, at program start-up
...
Make it clear that LD_LIBRARY_PATH is inspected *once*, at
program start-up. (Verified from source and by experiment.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Michael B. Trausch <mike@trausch.us>
2008-10-29 14:54:19 -05:00
Michael Kerrisk
240c2fa0fa
pthread_join.3: wfix: s/unpredictable/undefined/
...
Reported-by: Bert Wesarg <bert.wesarg@googlemail.com>
2008-10-29 14:54:19 -05:00
Michael Kerrisk
5de8e5f965
pthread_detach.3: wfix
...
Reported-by: Bert Wesarg <bert.wesarg@googlemail.com>
2008-10-29 14:54:19 -05:00
Michael Kerrisk
43fa988b91
pthread_join.3: SEE ALSO: Add pthread_tryjoin_np(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:18 -05:00
Michael Kerrisk
0767a53c50
pthread_timedjoin_np.3: New link to new pthread_tryjoin_np.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:18 -05:00
Michael Kerrisk
681f0d67bb
pthread_tryjoin_np.3: New page for pthread_tryjoin_np(3) and pthread_timedjoin_np(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:18 -05:00
Michael Kerrisk
bbb08de354
pthread_join.3: EINVAL also occurs if there is already a joining thread
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:18 -05:00
Michael Kerrisk
7eec71b80c
pthread_attr_getscope.3: New link to new pthread_attr_setscope.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:18 -05:00
Michael Kerrisk
693e11d0c5
pthread_attr_setscope.3: New page for pthread_attr_setscope(3) and pthread_attr_getscope(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:17 -05:00
Michael Kerrisk
d670bd3ad5
pthread_attr_getdetachstate.3: New link to new pthread_attr_setdetachstate.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:17 -05:00
Michael Kerrisk
4b5ce6c3bf
pthread_attr_setdetachstate.3: New page for pthread_attr_setdetachstate(3) and pthread_attr_getdetachstate(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:17 -05:00
Michael Kerrisk
47ce6b2f53
pthread_attr_getstackaddr.3: New link to new pthread_attr_setstackaddr.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:17 -05:00
Michael Kerrisk
e5b89a8d76
pthread_attr_setstackaddr.3: New page for pthread_attr_setstackaddr(3) and pthread_attr_getstackaddr(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:17 -05:00
Michael Kerrisk
2a58e8edf4
pthread_attr_getstack.3: New link to new pthread_attr_setstack.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:17 -05:00
Michael Kerrisk
e0ea179fea
pthread_attr_setstack.3: spfix
2008-10-29 14:54:16 -05:00
Michael Kerrisk
4008a5d53a
pthread_attr_setstack.3: New page for pthread_attr_setstack(3) and pthread_attr_getstack(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:16 -05:00
Michael Kerrisk
599946250e
pthread_attr_getguardsize.3: New link to new pthread_attr_setguardsize.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:16 -05:00
Michael Kerrisk
62fba73a47
pthread_attr_setguardsize.3: New page for pthread_attr_setguardsize(3) and pthread_attr_getguardsize(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:16 -05:00
Michael Kerrisk
5bf083d042
pthread_attr_getstacksize.3: New link to new pthread_attr_setstacksize.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:16 -05:00
Michael Kerrisk
5a8b01e1b9
pthread_attr_setstacksize.3: New page for pthread_attr_setstacksize(3) and pthread_attr_getstacksize(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:16 -05:00
Michael Kerrisk
4f37d29c77
pthread_getattr_np.3: New page for pthread_getattr_np(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:15 -05:00
Michael Kerrisk
1bb776052c
pthread_attr_destroy.3: New link to new pthread_attr_init.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:15 -05:00
Michael Kerrisk
7896a15506
pthread_attr_init.3: New page for pthread_attr_init(3) and pthread_attr_destroy(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:15 -05:00
Michael Kerrisk
b290aa63eb
pthread_detach.3: New page for pthread_detach(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:15 -05:00
Michael Kerrisk
ebdd7ee18c
pthread_join.3: New page for pthread_join(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:15 -05:00
Michael Kerrisk
8c80f3c6e1
pthread_equal.3: New page for pthread_equal(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:15 -05:00
Michael Kerrisk
8dffe2c455
pthread_self.3: New page for pthread_self(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk
2bb98c3f74
pthread_create.3: minor: three small fixes
...
Bert Wesarg <bert.wesarg@googlemail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk
87d6864727
pthread_exit.3: wfix: s/value_ptr/retval/
...
Reported-by: Bert Wesarg <bert.wesarg@googlemail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk
c495ab1b69
pthread_exit.3: New page describing pthread_exit(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk
058cd95f5a
pthread_create.3: New page describing pthread_create(3)
...
Let's start filling the big, longstanding gap for documentation
of Linux's implementation(s) of POSIX threads.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk
e47fa14cd1
gethostbyname.3: Rationalize text on POSIX.1-2001 obsolete interfaces
...
POSIX.1 marks gethostbyname(), gethostbyaddr(), and 'h_errno'
as obsolete. The man page explained this, but with some
duplication. Remove the duplication, and otherwise tidy up
discussion of this point.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:13 -05:00
Michael Kerrisk
546f67f3cd
ctime.3: ctime_r() and localtime_r() need not set 'timezone' and 'daylight'
...
The man page already noted that these functions need not set
'tzname', but things could be clearer: it tzset() is not called,
then the other two variables also are not set.
Also, clarify that ctime() does set 'timezone' and 'daylight'.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:13 -05:00
Michael Kerrisk
e6068f213e
strftime.3: srcfix: Added FIXME
2008-10-29 14:54:13 -05:00
Michael Kerrisk
44c95a090f
stat.2, tsearch.3, tzset.3: wfix: s/SysV/System V/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:12 -05:00
Michael Kerrisk
24f0c87e42
raise.3: SEE ALSO: add pthread_kill(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:12 -05:00