Wainer dos Santos Moschetta
b61e3789ab
strtod.3: SEE ALSO: add strfromd(3)
...
Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-07 16:39:49 +01:00
Wainer dos Santos Moschetta
e46790a80a
printf.3: SEE ALSO: add strfromd(3)
...
Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-07 16:39:43 +01:00
Wainer dos Santos Moschetta
afaf39e9ac
atof.3: SEE ALSO: add strfromd(3)
...
Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-07 16:39:31 +01:00
Wainer dos Santos Moschetta
2bf84c0f98
strfroml.3: New link to strfromd(3)
...
Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-07 16:38:53 +01:00
Wainer dos Santos Moschetta
af9a175d03
strfromf.3: New link to strfromd(3)
...
Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-07 16:38:26 +01:00
Michael Kerrisk
f75bdcaf5f
strfromd.3: Minor tweaks to Wainer dos Santos Moschetta's page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-07 16:37:57 +01:00
Wainer dos Santos Moschetta
d8be6d2b70
strfromd.3: New page documenting strfromd(3), strfromf(3), and strfroml(3)
...
The ISO/IEC TS 18661-1 specifies the strfrom() class
of functions that convert a float-point value to string.
The strfromd(), strfromf(), and strfroml() functions are
introduced (commit 6962682ffe5e) in GNU C Library 2.25.
Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-07 16:23:58 +01:00
Michael Kerrisk
eaa8868c7b
strerror.3: srcfix: FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 16:02:06 +01:00
Michael Kerrisk
97d8fd295f
ptsname.3: Note that ptsname_r() is proposed for future inclusion in POSIX.1
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 16:02:06 +01:00
Michael Kerrisk
b078637007
ptsname.3: CONFORMING TO:: clarify that only ptsname() is standardized (so far)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 16:02:06 +01:00
Michael Kerrisk
5b711f5e45
mbsnrtowcs.3: Note behavior of mbsnrtowcs() for an incomplete character
...
Note the behavior of mbsnrtowcs() when an incomplete character
is found at end of the input buffer.
Reported-by: Igor Liferenko <igor.liferenko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-26 14:15:59 +01:00
Michael Kerrisk
9caecea1f2
mbsnrtowcs.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-26 14:06:12 +01:00
Michael Kerrisk
02326b5cce
isalpha.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 13:20:29 +01:00
Michael Kerrisk
a57bca4d34
mbstowcs.3: Add missing include to example program
...
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845172
Reported-by: Igor Liferenko <igor.liferenko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 11:33:56 +01:00
Michael Kerrisk
2e8302fca0
remainder.3: Note fix to remainder(nan(""), 0) handling
...
The bug https://www.sourceware.org/bugzilla/show_bug.cgi?id=6779
has been fixed in glibc 2.15.
2016-11-19 11:28:46 +01:00
Michael Kerrisk
f5a9a2041a
remainder.3: Document fixes for EDOM handling for range errors
...
The bug http://sources.redhat.com/bugzilla/show_bug.cgi?id=6783
was fixed in glibc 2.15.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-19 11:28:46 +01:00
Michael Kerrisk
bde63f932d
tgamma.3: Document fixes to give ERANGE for underflow range error
...
The bug https://www.sourceware.org/bugzilla/show_bug.cgi?id=6810
was fixed in glibc 2.19.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-18 20:18:03 +01:00
Michael Kerrisk
3c5ba5ed1c
isalpha.3: Note circumstances where 'c' must be cast to 'unsigned char'
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-17 21:51:05 +01:00
Michael Kerrisk
d81889735b
toupper.3: Note circumstances where 'c' must be cast to 'unsigned char'
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-17 21:49:37 +01:00
Michael Kerrisk
7903974202
dlopen.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-11 09:20:54 +01:00
Michael Kerrisk
160b2e8799
ttyname.3: SEE ALSO: add tty(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 11:19:56 +01:00
Michael Kerrisk
2a47cc96ba
getlogin.3: SEE ALSO: add logname(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 11:18:16 +01:00
Michael Kerrisk
5501509f34
mq_open.3: Rework details in Eugene Syromyatnikov's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 08:32:54 +01:00
Eugene Syromyatnikov
c8665710a3
mq_open.3: clarification regarding usage of mq_flags attribute in mq_open()
2016-11-10 08:23:18 +01:00
Michael Kerrisk
e1ca8255af
mq_receive.3, mq_send.3: Minor tweaks to Eugene Syromyatnikov's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 08:22:00 +01:00
Eugene Syromyatnikov
a27e0cda45
mq_receive.3, mq_send.3: Clarification regarding reasons behind EBADF
2016-11-10 08:21:00 +01:00
Michael Kerrisk
1946f1d2a2
timegm.3: Add ERRORS section
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-06 04:28:51 -07:00
Michael Kerrisk
3bd5871210
timegm.3: Add RETURN VALUE section
...
Reported-by: Vincent Lefevre <vincent@vinc17.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-06 04:28:31 -07:00
Michael Kerrisk
d957e9a4dd
ctime.3: Add ERRORS section
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-06 04:28:31 -07:00
Michael Kerrisk
f5633e8dc6
ctime.3: RETURN VALUE: describe return values more explicitly
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-06 03:26:30 -07:00
Michael Kerrisk
f2296ca5e8
killpg.3: Fix system call number in .TH line
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-04 18:01:28 +01:00
Michael Kerrisk
ec1b4c4944
killpg.3: Move killpg.2 from section to to section 3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-04 18:01:28 +01:00
Michael Kerrisk
30ed4712c7
chroot.2, dup.2, nfsservctl.2, utimensat.2, malloc_get_state.3, pthread_setaffinity_np.3, ddp.7, fifo.7, ip.7: Remove some out-of-date/obsolete/irrelevant FIXMEs
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-31 16:45:46 +01:00
Jakub Wilk
da353ffcdd
mtrace.3: tfix
...
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-10-31 12:53:50 +01:00
Michael Kerrisk
d07f4209bb
fgetgrent.3, fgetpwent.3: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-31 03:14:47 +01:00
Michael Kerrisk
30f9abcf6f
strftime.3: srcfix: FIXME tidy-up
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:43:30 +02:00
Michael Kerrisk
dbbdefa54f
daemon.3: srcfix: FIXME tidy-up
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:43:30 +02:00
Michael Kerrisk
7a07579277
termios.3: srcfix: FIXME tidy-up
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:36:14 +02:00
Michael Kerrisk
8018923693
strverscmp.3: srcfix: FIXME tidy-up
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:36:14 +02:00
Michael Kerrisk
e6c9defd3f
sigpause.3: srcfix: FIXME tidy-up
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:36:14 +02:00
Michael Kerrisk
03360f97dc
mtrace.3: srcfix: FIXME tidy-up
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:36:14 +02:00
Michael Kerrisk
9c7bd1036e
getnameinfo.3: srcfix: FIXME tidy-up
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:34:58 +02:00
Michael Kerrisk
3747c61417
getaddrinfo.3: srcfix: FIXME tidy-up
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:34:58 +02:00
Michael Kerrisk
ef66113001
fgetpwent.3: srcfix: FIXME tidy-up
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:34:58 +02:00
Michael Kerrisk
13ce9c8de3
fgetgrent.3: srcfix: FIXME tidy-up
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:34:58 +02:00
Michael Kerrisk
0ff49055e2
confstr.3: srcfix: FIXME tidy-up
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:34:58 +02:00
Michael Kerrisk
9227137a38
mallopt.3: Minor clarification for M_ARENA_MAX
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-19 08:46:15 +02:00
Michael Kerrisk
7655c1839d
mallopt.3: Improve description of M_ARENA_TEST
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 18:03:49 +02:00
Michael Kerrisk
8d02a0ab04
mallopt.3: Correct the description of M_ARENA_MAX==0
...
Reported-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 17:53:29 +02:00
Michael Kerrisk
8e81aad0dc
mallopt.3: Document default value for M_ARENA_TEST
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 09:14:27 +02:00
Michael Kerrisk
19557f4043
mallopt.3: Document 0 as default value of M_ARENA_MAX and explain its meaning
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:56:19 +02:00
Michael Kerrisk
b075133f9c
mallopt.3: Minor fix: relocate some text
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:50:45 +02:00
Michael Kerrisk
bf5c6199e3
mallopt.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:50:06 +02:00
Michael Kerrisk
ba202ba07f
mallopt.3: Note default value of M_PERTURB
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:45:16 +02:00
Michael Kerrisk
8d66586467
mallopt.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:41:13 +02:00
Michael Kerrisk
bb70234f74
mallopt.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-18 08:36:18 +02:00
Michael Kerrisk
f64cc74595
killpg.2, crypt.3, mbsinit.3, printf.3, rpc.3, ulimit.3, wprintf.3, xdr.3, fd.4, elf.5, group.5: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk
bece031505
mbstowcs.3: wfix
...
Reported-by: Igor Liferenko <igor.liferenko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk
3942b6bcd2
mbstowcs.3, wcstombs.3: Improve language relating to "initial state"
...
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839705
Reported-by: Igor Liferenko <igor.liferenko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk
a8a9227ded
wcstombs.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk
d411041bd4
errno.3: Add glibc error text for EILSEQ
...
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840499
and https://sourceware.org/bugzilla/show_bug.cgi?id=20687
Reported-by: Igor Liferenko <igor.liferenko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk
e1f3482c04
errno.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk
310717988d
errno.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk
2b8600d3f3
pthread_attr_init.3: SEE ALSO: add pthread_setattr_default_np(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 10:08:38 +02:00
Michael Kerrisk
c09bc8252f
pthread_create.3: SEE ALSO: add pthread_setattr_default_np(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 10:08:38 +02:00
Michael Kerrisk
57da530191
pthread_setattr_default_np.3: New link to new pthread_getattr_default_np.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 10:07:28 +02:00
Michael Kerrisk
0925dc68d0
pthread_getattr_default_np.3: New page documenting pthread_getattr_default_np(3) and pthread_setattr_default_np(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 10:07:10 +02:00
Michael Kerrisk
696bd2daca
mallinfo.3: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-08 21:10:26 +02:00
Michael Kerrisk
3c841730e7
mallinfo.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-08 21:10:01 +02:00
Michael Kerrisk
b8efb41432
memusage.1, memusagestat.1, pldd.1, accept.2, adjtimex.2, arch_prctl.2, bdflush.2, bpf.2, close.2, epoll_ctl.2, epoll_wait.2, execve.2, execveat.2, fanotify_init.2, fanotify_mark.2, fcntl.2, fsync.2, get_kernel_syms.2, getdomainname.2, getgroups.2, gethostname.2, getrandom.2, getrlimit.2, getrusage.2, getsid.2, getunwind.2, io_getevents.2, ioctl_fat.2, kexec_load.2, killpg.2, listxattr.2, lseek.2, madvise.2, memfd_create.2, mknod.2, mlock.2, modify_ldt.2, msgctl.2, msgget.2, msgop.2, readlink.2, readv.2, reboot.2, recvmmsg.2, rename.2, request_key.2, restart_syscall.2, sched_setaffinity.2, sched_setattr.2, sched_setparam.2, seccomp.2, select_tut.2, semctl.2, semget.2, semop.2, set_thread_area.2, seteuid.2, setgid.2, setpgid.2, setresuid.2, setreuid.2, setsid.2, setuid.2, shmctl.2, shmget.2, shmop.2, sigaction.2, sigprocmask.2, stat.2, symlink.2, syscall.2, sysctl.2, unlink.2, bindresvport.3, byteorder.3, dlopen.3, endian.3, error.3, ffs.3, fmemopen.3, getcwd.3, getlogin.3, getnetent.3, getprotoent.3, getservent.3, getumask.3, getutent.3, glob.3, isalpha.3, lio_listio.3, login.3, mbsinit.3, mbstowcs.3, mbtowc.3, mkstemp.3, nextup.3, ntp_gettime.3, posix_fallocate.3, posix_spawn.3, pthread_join.3, pthread_rwlockattr_setkind_np.3, random.3, rcmd.3, realpath.3, resolver.3, setjmp.3, setnetgrent.3, sigvec.3, strerror.3, strverscmp.3, system.3, toupper.3, towlower.3, towupper.3, wcstombs.3, wordexp.3, cciss.4, loop.4, mouse.4, random.4, core.5, group.5, hosts.5, resolv.conf.5, ascii.7, environ.7, epoll.7, glob.7, ip.7, mq_overview.7, packet.7, pipe.7, raw.7, sched.7, signal.7, socket.7, symlink.7, ld.so.8, sln.8: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-08 14:08:23 +02:00
Michael Kerrisk
244fccdddb
ffs.3: Correct feature test macro requirements
...
Reported-by: Stefan Tauner <tauner@technikum-wien.at>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-08 14:08:23 +02:00
Michael Kerrisk
8ff358457d
getlogin.3: Update feature test macro requirements for cuserid()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-08 14:08:23 +02:00
Michael Kerrisk
750653a812
getrusage.2, madvise.2, memfd_create.2, mlock.2, mount.2, getauxval.3, core.5, capabilities.7, pid_namespaces.7, symlink.7, user_namespaces.7: Consistently use /proc/[pid] (not /proc/PID)
...
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 22:47:23 +02:00
Michael Kerrisk
fdcc06eeb1
wcstombs.3: wcsrtombs() does not provide thread-safe interface to same functionality
...
As noted in the Debian bug:
In "man wcstombs" the words
The function wcsrtombs(3) provides a thread safe interface to
the same functionality.
should be changed to
The function wcsrtombs(3) provides a better interface to
the same functionality.
Because
1) wcsrtombs is not thread safe if "ps" is NULL (see "ATTRIBUTES"
in "man wcsrtombs")
2) wcstombs *is* thread safe (see "ATTRIBUTES" in "man wcstombs")
3) "man mbstowcs" says "The function mbsrtowcs(3) provides a
better interface to the same functionality." in the same
NOTES section.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741360
Reported-by: Igor Liferenko <igor.liferenko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 09:13:58 +02:00
Michael Kerrisk
49d2adfabd
wcsrtombs.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 09:13:58 +02:00
Michael Kerrisk
db59590e7d
wcstombs.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 09:13:58 +02:00
Michael Kerrisk
fb22911618
getumask.3: Point to umask(2) for a thread-safe way to discover process's umask
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 09:13:58 +02:00
Michael Kerrisk
48523e3415
getumask.3: f
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 09:13:58 +02:00
Michael Kerrisk
8268760d77
getumask.3: Note that getumask() is still unavailable in glibc 2.24
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 09:13:58 +02:00
Michael Kerrisk
348348b1d2
dlopen.3: dlmopen() is still broken in glibc 2.24
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-21 12:46:10 +02:00
Michael Kerrisk
ed1ba8a5eb
bindresvport.3, rcmd.3, ip.7: Note user namespace requirements for CAP_NET_BIND_SERVICE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-12 20:34:22 +01:00
HuKeping
794d8db3ab
rtnetlink.3: tfix
...
Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-09-09 07:23:18 +01:00
Michael Kerrisk
46305699f7
pthread_join.3: Note that the caller might do clean up after joining with a thread
...
Reported-by: Mats Wichmann <mats@wichmann.us>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-31 07:23:08 +12:00
Michael Kerrisk
1f73bfaf6e
strverscmp.3: Add an example program
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-31 07:23:03 +12:00
Michael Kerrisk
919b0ce050
pthread_join.3: Clarify use of 'retval' pointer
...
Reported-by: 王守堰 <wangshouyan@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-29 09:56:47 +12:00
Ruben Kerkhof
48bafe7c02
readdir_r(3): tfix: Fix reference to readdir(3)
2016-08-28 16:38:31 +12:00
Michael Kerrisk
efcf47adbd
makedev.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-18 09:59:24 +12:00
Ray Bellis
519303a6a4
resolver.3: Correct arguments to res_ninit(res_state statep)
...
The man page for res_ninit() incorrectly says that it takes no
parameters, when in fact (and indeed according to the same page
further down) it has to take a res_state parameter.
2016-08-12 07:14:42 +12:00
Michael Kerrisk
a9672faabc
fmemopen.3: Remove bogus suggestion to use setbuffer()
...
As Rich Felker comments:
The stdio buffer associated with the fmemopen-obtained FILE,
and the output memory buffer into which it's writing, are
conceptually distinct entities, and there is no reason to
expect reasonable results if you modify the contents of a
setvbuf-associated buffer through other means while it's
associated with a FILE.
See http://stackoverflow.com/questions/38854163/using-rewind-on-a-file-opened-with-fmemopen
Reported-by: Rich Felker <dalias@libc.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-12 07:14:42 +12:00
Michael Kerrisk
afdd425e68
towlower.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:16 +10:00
Michael Kerrisk
9f7a5b0e57
sigset.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:16 +10:00
Michael Kerrisk
119a385181
resolver.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:16 +10:00
Michael Kerrisk
fca8d7eb25
readdir_r.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:16 +10:00
Michael Kerrisk
95183c2e0a
dlinfo.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:16 +10:00
Michael Kerrisk
53c9ce2def
towupper.3: Fix section ordering
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk
909eb7e97a
towlower.3: Fix section ordering
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk
bdec6fb099
strerror.3: Fix section ordering
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk
84f6b0672e
sigvec.3: Fix section ordering
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk
7c8c6f2da9
pthread_rwlockattr_setkind_np.3: Fix section ordering
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk
9c78ec5b5c
posix_spawn.3: Fix section ordering
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk
355b6107b4
ntp_gettime.3: Fix section ordering
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk
2443152c7b
nextup.3: Fix section ordering
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk
ec0f3c469d
isalpha.3: Fix section ordering
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk
82bd66b8b6
dlopen.3: Fix section ordering
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk
ca38b869e5
wcstombs.3: Fix order of SEE ALSO entries
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk
e8b81d3405
wcstombs.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk
ea7378c307
toupper.3: Fix order of SEE ALSO entries
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk
c0f12d150f
system.3: Fix order of SEE ALSO entries
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk
0125c2578d
random.3: Fix order of SEE ALSO entries
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk
be4653091b
pthread_setaffinity_np.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk
2e94784dd0
mbtowc.3: Fix order of SEE ALSO entries
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk
68d316001d
mbstowcs.3: Fix order of SEE ALSO entries
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk
13bc1e7875
mbsinit.3: Fix order of SEE ALSO entries
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk
dd18a3b676
isalpha.3: Fix order of SEE ALSO entries
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk
95e77601fc
confstr.3: Minor fix-ups in SEE ALSO
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk
66ced968fe
realpath.3: Order ERRORS alphabetically
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk
3fe3c87e65
posix_fallocate.3: Order ERRORS alphabetically
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk
6b0d93ef13
lio_listio.3: Order ERRORS alphabetically
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk
48f9dd5975
getcwd.3: Order ERRORS alphabetically
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:13 +10:00
Michael Kerrisk
bf7bc8b898
arch_prctl.2, execveat.2, fanotify_mark.2, fcntl.2, fork.2, madvise.2, mknod.2, mmap.2, modify_ldt.2, mount.2, open.2, prctl.2, ptrace.2, restart_syscall.2, seccomp.2, semop.2, set_thread_area.2, symlink.2, umount.2, unlink.2, error.3, getnetent.3, getprotoent.3, getservent.3, getutent.3, glob.3, login.3, setjmp.3, setnetgrent.3, wordexp.3, epoll.7: Remove section number from page self reference
...
Fix places where pages refer to the function that they describe
and include a section number in that reference. Such references
cause some HTML-rendering tools to create self-references in the
page.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:12 +10:00
Quentin Rameau
c6785202b0
mkstemp.3: Fix _POSIX_C_SOURCE value for mkstemp()
...
The correct _POSIX_C_SOURCE value has always been 200809L,
not 200112L.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-04 08:15:25 +10:00
Michael Kerrisk
cdff989b46
endian.3: SEE ALSO: add bswap(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-24 21:53:46 +02:00
Michael Kerrisk
b1bc4fd1ab
byteorder.3: SEE ALSO: add bswap(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-24 21:53:46 +02:00
Michael Kerrisk
70811de458
bswap_64.3: New link to new bswap.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-24 21:53:46 +02:00
Michael Kerrisk
3dedc90a6e
bswap_32.3: New link to new bswap.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-24 21:53:46 +02:00
Michael Kerrisk
e032ad6e7e
bswap_16.3: New link to new bswap.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-24 21:53:46 +02:00
Michael Kerrisk
9f0b7bd6b0
bswap.3: New page documenting bswap_16(), bswap_32(), and bswap_64()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-24 21:53:46 +02:00
Michael Kerrisk
2ae96e8ae8
Removed trailing white space at end of lines
2016-07-17 18:10:19 +02:00
Michael Kerrisk
3df541c0e6
ldd.1, localedef.1, add_key.2, chroot.2, clone.2, fork.2, futex.2, get_mempolicy.2, get_robust_list.2, getitimer.2, getpriority.2, ioctl.2, ioctl_ficlonerange.2, ioctl_fideduperange.2, kcmp.2, kill.2, lookup_dcookie.2, mmap.2, mount.2, open.2, pciconfig_read.2, perf_event_open.2, prctl.2, process_vm_readv.2, ptrace.2, quotactl.2, recv.2, setfsgid.2, setfsuid.2, sysinfo.2, umask.2, umount.2, unshare.2, utimensat.2, wait.2, assert.3, fmax.3, fmin.3, getauxval.3, inet_pton.3, malloc_hook.3, memmem.3, mkdtemp.3, mktemp.3, printf.3, strcasecmp.3, strcat.3, strtoul.3, strxfrm.3, console_codes.4, console_ioctl.4, lirc.4, tty.4, vcs.4, charmap.5, elf.5, locale.5, proc.5, repertoiremap.5, utmp.5, capabilities.7, cgroup_namespaces.7, cgroups.7, charsets.7, cp1251.7, cp1252.7, credentials.7, feature_test_macros.7, iso_8859-1.7, iso_8859-15.7, iso_8859-5.7, koi8-r.7, koi8-u.7, man-pages.7, mount_namespaces.7, namespaces.7, netlink.7, pid_namespaces.7, unix.7, user_namespaces.7, utf-8.7: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-17 18:10:19 +02:00
Michael Kerrisk
e732a1c21d
nextdown.3, nextdownf.3, nextdownl.3, nextupf.3, nextupl.3: New links to nextup(3)
2016-07-16 11:20:55 +02:00
Michael Kerrisk
ab472b501a
nextup.3: Add thread-safety markings
...
Based on code inspection and glibc manual mark-up.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-16 11:20:55 +02:00
Michael Kerrisk
c484406d06
nextup.3: New page documenting nextup(), nextdown(), and related functions
2016-07-15 23:53:08 +02:00
Cownie, James H
7e318d44a1
getauxval.3: Minor fix to AT_HWCAP text
...
Reported-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-14 08:43:01 +02:00
Michael Kerrisk
291415ef4a
getauxval.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-12 22:24:22 +02:00
Cownie, James H
063bf5a777
getauxval.3: Correct AT_HWCAP result description
...
The getauxval(3) man page describes the result for AT_HWCAP as
"A pointer to a multibyte mask of bits", however the actual value
returned is not a pointer, but simply the first 32 bits of the
capabilities mask.
This can be observed directly. Note the value shown for AT_HWCAP
is a 32 bit value that is not a pointer (see AT_PHDR or AT_RANDOM
for how pointers are shown).
% LD_SHOW_AUXV=1 cat < /dev/null
AT_SYSINFO_EHDR: 0x7fffe89fe000
AT_HWCAP: bfebfbff
AT_PAGESZ: 4096
AT_CLKTCK: 100
AT_PHDR: 0x400040
AT_PHENT: 56
AT_PHNUM: 9
AT_BASE: 0x0
AT_FLAGS: 0x0
AT_ENTRY: 0x402634
AT_UID: 515
AT_EUID: 515
AT_GID: 114
AT_EGID: 114
AT_SECURE: 0
AT_RANDOM: 0x7fffe8917be9
AT_EXECFN: /usr/bin/cat
AT_PLATFORM: x86_64
2016-07-12 22:23:29 +02:00
Michael Kerrisk
1d360c2637
strxfrm.3: Remove NOTES section
...
strxfrm() and strncpy() are not precisely equivalent in the
POSIX locale, so this NOTES section was not really correct.
See https://bugzilla.kernel.org/show_bug.cgi?id=104221
Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-07 13:44:50 +02:00
Michael Kerrisk
74714ea895
ctime.3, error.3, getmntent.3, getnetent_r.3, getrpcent_r.3, getservent_r.3, pthread_attr_init.3, pthread_getattr_np.3, pthread_tryjoin_np.3, rpc.3, setaliasent.3, setenv.3, unlocked_stdio.3: srcfix: Eliminate some groff warnings
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-26 11:25:22 +02:00
Michael Kerrisk
0b5ff3b662
fmax.3, fmin.3: SEE ALSO: add fdim(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-22 12:10:46 +02:00
Michael Kerrisk
c545391400
strtoul.3: SEE ALSO: add a64l(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-22 12:04:15 +02:00
Michael Kerrisk
b2f0984e04
strcat.3: Add a program that shows the performance characteristics of strcat()
...
In honor of Joel Spolksy's visit to Munich, let's start educating
Schlemiel The Painter.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-21 13:55:09 +02:00
Michael Kerrisk
bfb9c7c014
getaddrinfo_a.3: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-20 14:00:37 +02:00
Michael Kerrisk
67c7e1d53d
getaddrinfo_a.3: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-20 14:00:37 +02:00
Michael Kerrisk
31cc838703
getunwind.2, prctl.2, aio_suspend.3, setenv.3: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-20 14:00:37 +02:00
Michael Kerrisk
616c2730de
remap_file_pages.2, sigaltstack.2, umask.2, wait4.2, basename.3, canonicalize_file_name.3, dlerror.3, dlopen.3, dlsym.3, sockatmark.3, strtok.3: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-20 14:00:37 +02:00
Michael Kerrisk
cd2c21a021
cacos.3, cacosh.3, catan.3, catanh.3: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-20 14:00:37 +02:00
Tobias Stoeckmann
36f99b9242
getauxval.3: tfix
...
Fix typo. It's supposed to be "its" not "it's" in this context.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2016-06-15 22:53:03 +02:00
Michael Kerrisk
a1476a498c
malloc_hook.3: glibc 2.24 removes __malloc_initialize_hook
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-10 16:26:53 +02:00
Michael Kerrisk
6de48cdf60
regex.3: Minor fix to 'info libc' regex reference
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-09 22:12:34 +02:00
Michael Kerrisk
2974f4050a
printf.3: Note support in other C libraries for %m and %n
...
Reported-by: Shawn Landden <shawn@churchofgit.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-09 22:12:29 +02:00
Michael Kerrisk
1b2385537f
memmem.3: Note that memmem() is present on some other systems
...
Reported-by: Shawn Landden <shawn@churchofgit.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-09 10:02:56 +02:00
Jakub Wilk
d1f84ed72a
clone.2, confstr.3, hpsa.4, tcp.7: tfix
...
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-06-08 11:24:08 +02:00
Jakub Wilk
8d48cea31a
termios.3: spfix
...
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-06-06 09:13:54 -05:00
Michael Kerrisk
9b3661c406
assert.3: Clarify details of message printed by assert()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-03 06:38:32 -05:00
Michael Kerrisk
4d644289dd
assert.3: Minor clean-ups
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-03 06:38:32 -05:00
Nikos Mavrogiannopoulos
f34fcbb86b
assert.3: Improved description
...
Removed text referring to text not being helpful to users. Provide
the error text instead to allow the reader to determine whether it
is helpful. Recommend against using NDEBUG for programs to
exhibit deterministic behavior. Moved description ahead of
recommendations.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2016-06-03 06:37:52 -05:00
Michael Kerrisk
c39946e06e
mkdtemp.3, mktemp.3: SEE ALSO: add mktemp(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-01 11:02:44 -05:00
Michael Kerrisk
0ee6740485
strcasecmp.3: Minor tweak to strncasecmp() description
...
Reported-by: Ori Avtalion <ori@avtalion.name>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-29 11:53:38 -05:00
Michael Kerrisk
2392242b06
strcasecmp.3: Make details of strncasecmp() comparison clearer
...
Quoting Ori:
The manpage for strncasecmp has a few wording issues that can be improved:
1)
In the DESCRIPTION section, "except it compares only the first n
bytes of s1"
s1 can be shorter than n bytes. Consider adding "(at most)" after
"first".
For comparison with reference materials, POSIX uses the wording
"not more than n bytes", OSX and FreeBSD use "compares at
most [...]".
2)
In the RETURN VALUE section: "if s1 (or the first n bytes
thereof) is found [...] to match [...] s2"
This could theoretically be read to suggest that the first n bytes
of s1 are compared against the FULL s2, which is not the case.
Consider removing the parenthetical altogether (thus, not
mentioning 'n' at all). POSIX doesn't mention 'n' in its RETURN
VALUE section.
3)
The RETURN VALUE section doesn't mention case insensitivity. It's
in the DESCRIPTION, but perhaps it should also be in this section.
POSIX mentions case-insensitivity in RETURN VALUE.
Consider adding "and ignoring case" after "respectively".
Reported-by: Ori Avtalion <ori@avtalion.name>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-29 06:52:09 -05:00
Stefan Puiu
04fd9903e3
inet_pton.3: Mention byte order
...
Come to think of it, this probably applies to IPv6 as well. Moving to
the paragraph before:
2016-05-18 13:33:30 +02:00
Michael Kerrisk
a03a743568
getauxval.3: tfix
...
Reported-by: Håkon Sandsmark <hsandsma@cisco.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-13 13:47:25 +02:00
Michael Kerrisk
4590829a1b
dlsym.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-13 10:59:06 +02:00
Élie Bouttier
819eeff4c6
getaddrinfo_a.3: tfix
...
EAI_CANCELED and EAI_NOTCANCELED are defined without double L in resolv/netdb.h from glibc.
See https://sourceware.org/git/?p=glibc.git;a=blob;f=resolv/netdb.h;h=3aba530932c7a62a4f23e3193e9186da677f552b;hb=HEAD#l632
2016-05-11 08:37:44 +02:00
Michael Kerrisk
5c61e57f56
strtod.3: Improve a detail in RETURN VALUE
...
Reported-by: Ed Avis <eda@waniasset.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-09 22:53:25 +02:00
Nikola Forró
ea5bce080a
popen.3: RETURN VALUE: describe successful case
...
Reference:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/popen.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/pclose.html
Signed-off-by: Nikola Forró <nforro@redhat.com>
2016-05-09 22:45:36 +02:00
Michael Kerrisk
38f55864aa
cmsg.3: Minor cosmetic changes in example code
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-22 15:38:49 +02:00
Michael Kerrisk
6cd7a2c6da
cmsg.3: Minor cosmetic changes to example code
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-22 10:00:25 +02:00
Michael Kerrisk
85a4005516
makedev.3: NOTES: mention that <sys/types.h> may also define these macros
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-20 14:06:28 +02:00
Mike Frysinger
3350a86413
makedev(3): Use <sys/sysmacros.h> in SYNOPSIS
...
Defining these functions via <sys/types.h> causes problems for
some folk. As noted by Zack Wein:
libstdc++ force-enables _GNU_SOURCE, which means people
writing in C++ _can't_ avoid these nonstandard macros by
using a strict conformance mode.
Since glibc has basically always used <sys/sysmacros.h>,
update the docs to have people include that instead.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-20 14:06:28 +02:00
Michael Kerrisk
a90f441afb
readdir.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-26 07:08:16 +13:00
Michael Kerrisk
2c767761a2
Removed trailing white space at end of lines
2016-03-15 17:30:43 +13:00
Michael Kerrisk
979867082b
locale.1, localedef.1, _exit.2, accept.2, access.2, acct.2, adjtimex.2, bdflush.2, bind.2, bpf.2, brk.2, chdir.2, chmod.2, chown.2, chroot.2, clock_nanosleep.2, clone.2, close.2, connect.2, copy_file_range.2, create_module.2, delete_module.2, dup.2, epoll_ctl.2, eventfd.2, execve.2, fallocate.2, fanotify_init.2, fcntl.2, flock.2, fork.2, fsync.2, futex.2, get_kernel_syms.2, getdomainname.2, getgroups.2, gethostname.2, getpagesize.2, getpeername.2, getsid.2, getsockname.2, getsockopt.2, gettimeofday.2, init_module.2, ioctl.2, ioctl_list.2, ioperm.2, iopl.2, kexec_load.2, kill.2, killpg.2, link.2, listen.2, llseek.2, lseek.2, madvise.2, memfd_create.2, mincore.2, mkdir.2, mknod.2, mmap.2, mount.2, nanosleep.2, nice.2, open.2, personality.2, pipe.2, poll.2, posix_fadvise.2, read.2, readahead.2, readlink.2, readv.2, recv.2, recvmmsg.2, rename.2, request_key.2, sched_setaffinity.2, sched_setattr.2, select.2, select_tut.2, semctl.2, semop.2, send.2, sendfile.2, sendmmsg.2, seteuid.2, setns.2, setpgid.2, setreuid.2, shutdown.2, sigaction.2, sigaltstack.2, signal.2, signalfd.2, sigpending.2, sigprocmask.2, sigsuspend.2, socketpair.2, splice.2, stat.2, statfs.2, stime.2, symlink.2, sync.2, syscall.2, syscalls.2, times.2, truncate.2, unlink.2, unshare.2, uselib.2, utimensat.2, vfork.2, vhangup.2, wait.2, wait4.2, write.2, a64l.3, abs.3, acos.3, acosh.3, addseverity.3, adjtime.3, aio_read.3, aio_write.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, atoi.3, backtrace.3, cbrt.3, ceil.3, cfree.3, clearenv.3, clock_getcpuclockid.3, clog10.3, cmsg.3, copysign.3, cos.3, cosh.3, ctermid.3, ctime.3, daemon.3, dirfd.3, div.3, dl_iterate_phdr.3, drand48.3, drand48_r.3, dysize.3, ecvt.3, ecvt_r.3, endian.3, erf.3, erfc.3, errno.3, exec.3, exp.3, exp2.3, expm1.3, fabs.3, fdim.3, ferror.3, fexecve.3, ffs.3, fgetgrent.3, fgetpwent.3, finite.3, flockfile.3, floor.3, fma.3, fmax.3, fmin.3, fmod.3, fopen.3, fpclassify.3, frexp.3, fseeko.3, fts.3, futimes.3, fwide.3, gamma.3, gcvt.3, getaddrinfo.3, getcwd.3, getdate.3, getdirentries.3, getdtablesize.3, getgrent.3, getgrent_r.3, getgrnam.3, getgrouplist.3, gethostbyname.3, gethostid.3, getline.3, getloadavg.3, getmntent.3, getnameinfo.3, getnetent_r.3, getpass.3, getprotoent_r.3, getpwent.3, getpwent_r.3, getpwnam.3, getrpcent_r.3, getservent_r.3, getspnam.3, getsubopt.3, getusershell.3, getutent.3, getw.3, gsignal.3, hypot.3, ilogb.3, inet.3, initgroups.3, insque.3, isalpha.3, isgreater.3, iswblank.3, j0.3, ldexp.3, lgamma.3, lio_listio.3, lockf.3, log.3, log10.3, log1p.3, log2.3, logb.3, lrint.3, lround.3, makedev.3, matherr.3, mbsnrtowcs.3, mkdtemp.3, mkfifo.3, mkstemp.3, mktemp.3, modf.3, mq_close.3, mq_getattr.3, mq_notify.3, mq_receive.3, mq_send.3, nan.3, nextafter.3, on_exit.3, open_memstream.3, opendir.3, perror.3, popen.3, posix_fallocate.3, posix_madvise.3, posix_memalign.3, posix_openpt.3, posix_spawn.3, pow.3, printf.3, profil.3, psignal.3, pthread_attr_setstack.3, pthread_setaffinity_np.3, putenv.3, putpwent.3, qecvt.3, rand.3, random.3, random_r.3, rcmd.3, readdir.3, realpath.3, remainder.3, remquo.3, rexec.3, rint.3, round.3, rpc.3, rpmatch.3, scalb.3, scalbln.3, scandir.3, scanf.3, seekdir.3, sem_wait.3, setbuf.3, setenv.3, setjmp.3, setnetgrent.3, siginterrupt.3, signbit.3, significand.3, sigset.3, sigsetops.3, sigvec.3, sigwait.3, sin.3, sinh.3, sleep.3, sockatmark.3, sqrt.3, statvfs.3, stpcpy.3, stpncpy.3, strdup.3, strerror.3, strftime.3, strlen.3, strnlen.3, strsep.3, strsignal.3, strtod.3, strtok.3, strtol.3, strtoul.3, syslog.3, system.3, tan.3, tanh.3, telldir.3, tempnam.3, termios.3, tgamma.3, timegm.3, timeradd.3, tmpfile.3, tmpnam.3, toascii.3, trunc.3, ttyslot.3, tzset.3, ualarm.3, unlocked_stdio.3, usleep.3, wcpcpy.3, wcpncpy.3, wcscasecmp.3, wcsdup.3, wcsncasecmp.3, wcsnlen.3, wcsnrtombs.3, wprintf.3, y0.3, pts.4, st.4, tty_ioctl.4, elf.5, gai.conf.5, group.5, locale.5, nsswitch.conf.5, proc.5, utmp.5, aio.7, capabilities.7, credentials.7, environ.7, epoll.7, fanotify.7, feature_test_macros.7, inotify.7, ip.7, mq_overview.7, namespaces.7, pipe.7, signal.7, socket.7, standards.7, svipc.7, symlink.7, time.7, unicode.7, unix.7: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-15 17:30:43 +13:00
Michael Kerrisk
68df07dd4d
posix_spawn.3: srcfix: Add license delimiter tags
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-15 17:30:43 +13:00
Nikola Forró
1754f8d0f7
strftime.3: tfix
...
Signed-off-by: Nikola Forró <nforro@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-15 06:21:50 +13:00
Jakub Wilk
d260f95eb0
readdir_r.3: tfix
...
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-14 08:32:54 +13:00
Michael Kerrisk
fca67dd016
strftime.3: Note which 'tm' fields are used to calculate each output string
...
See https://bugzilla.redhat.com/show_bug.cgi?id=1162218
Reported-by: Jeremy Harris <jeharris@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-13 10:51:34 +13:00
Michael Kerrisk
8dc9c2d66e
strftime.3: Minor reordering of some text
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-13 10:51:16 +13:00
Michael Kerrisk
f1e1b550a9
dl_iterate_phdr.3: Note that first object visited by 'callback' is the main program
...
See https://bugzilla.kernel.org/show_bug.cgi?id=94141
Reported-by: Simon Que <sque@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-11 20:28:11 +01:00
Michael Kerrisk
9b14ad2db5
dl_iterate_phdr.3: Describe 'struct dl_phdr_info' fields added in glibc 2.4
...
See https://bugzilla.kernel.org/show_bug.cgi?id=103011
Reported-by: Paul Pluzhnikov <ppluzhnikov@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-11 19:59:46 +01:00
Michael Kerrisk
1893b64807
recv.2, cmsg.3: Note that cmsg_len is typed as socklen_t in POSIX.1
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-11 16:58:07 +01:00
Michael Kerrisk
4ecc4f795f
cmsg.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-11 16:53:52 +01:00
Nikola Forró
aea45daeee
recv.2, cmsg.3: Fix type of cmsg_len member of cmsghdr structure
...
The type shown for cmsg_len member of cmsghdr structure is socklen_t,
but the actual type used by glibc and the kernel is size_t.
The information was obtained from glibc source code:
http://bit.ly/21m1RMp
Signed-off-by: Nikola Forró <nforro@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-11 16:51:07 +01:00
Michael Kerrisk
1182ddb36a
fmemopen.3: Update timestamp (page reviewed by Adhemerval Zanella)
...
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-11 15:38:57 +01:00
Michael Kerrisk
501934a934
timegm.3: Expand DESCRIPTION a little
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-11 00:43:05 +01:00
Michael Kerrisk
25a0440e45
timegm.3: Remove sample implementation of timegm()
...
Stephen and Mats both question the wisdom of showing a portable
*non-thread-safe* implementation of timegm(), and I find it
hard to disagree. So, remove this code.
See https://bugzilla.kernel.org/show_bug.cgi?id=103701
Reported-by: Stephen Hurd <shurd@sasktel.net>
Reported-by: Mats Wichmann <mats@linuxfoundation.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-11 00:42:36 +01:00
Michael Kerrisk
ddef8b9573
fmemopen.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-10 21:05:11 +01:00
Michael Kerrisk
cf486e4aa9
CPU_SET.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-10 16:31:50 +01:00
Michael Kerrisk
7d02e97e66
pthread_setaffinity_np.3: SEE ALSO: add CPU_SET(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-10 15:56:14 +01:00
Michael Kerrisk
8a61b8f5db
readdir.3: tfix
...
Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-10 15:50:12 +01:00
Michael Kerrisk
77c73ca424
open_memstream.3: SEE ALSO: add setbuf(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-10 02:57:14 +01:00
Michael Kerrisk
207f4520b8
open_memstream.3: Minor reworking
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-10 02:57:14 +01:00
Michael Kerrisk
493e0eb3c2
fmemopen.3: srcfix: update copyright
...
Little or no text remains from Walters initial version
10 years ago.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 11:41:58 +01:00
Michael Kerrisk
8190a9eeac
open_memstream.3: srcfix: Update copyright info
...
The open_memstream() text was jsut by me.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 11:41:24 +01:00
Michael Kerrisk
b5a636d650
fmemopen.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 05:20:12 +01:00
Michael Kerrisk
e3d1b1b740
open_memstream.3: Rework text describing dynamic allocation
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 05:12:56 +01:00
Michael Kerrisk
31a3c48847
open_memstream.3: Add some details on current buffer position
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 05:12:56 +01:00
Michael Kerrisk
a6bd38c621
fopen.3: SEE ALSO: add open_memstream(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 05:12:56 +01:00
Michael Kerrisk
8e23ae0316
open_wmemstream.3: Update link to point to new open_memstream(2) page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 05:12:56 +01:00
Michael Kerrisk
09ffd9ca50
fmemopen.3, open_memstream.3: Split open_memstream() and open_wmemstream() out to separate page
...
The current fmemopen(3) page documents too many functions.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 04:55:07 +01:00
Michael Kerrisk
551c427e75
fmemopen.3: srcfix: copyright date
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 04:36:48 +01:00
Michael Kerrisk
36ad378145
fmemopen.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 04:34:31 +01:00
Michael Kerrisk
d779692dc7
fmemopen.3: Small clarification to the discussion of write errors
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 04:31:40 +01:00
Michael Kerrisk
82aa5cf962
fmemopen.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 04:20:13 +01:00
Michael Kerrisk
f29c8cd8e9
fmemopen.3: Minor fix: reorder a paragraph
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 04:19:52 +01:00
Michael Kerrisk
f39842ae12
fmemopen.3: ffix: add a subheading
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 04:18:33 +01:00
Michael Kerrisk
0b54423fb5
fmemopen.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 04:15:13 +01:00
Michael Kerrisk
c7de29d451
fmemopen.3: Expand discussion of "current position" for fmemopen() stream
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 04:15:13 +01:00
Michael Kerrisk
1e9eb6c1b6
fmemopen.3: Rework discussion of the (obsolete) binary mode
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 04:15:13 +01:00
Michael Kerrisk
2841079cd0
fmemopen.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 04:15:13 +01:00
Michael Kerrisk
9c8b5ebfc4
fmemopen.3: Rework description of 'buf' and 'len' arguments
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 04:15:13 +01:00
Michael Kerrisk
58c55bb87b
fmemopen.3: Greatly expand description of 'mode' argument
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 03:42:26 +01:00
Michael Kerrisk
02989b144e
fmemopen.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 03:09:36 +01:00
Michael Kerrisk
93bb19b18c
fmemopen.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 03:09:36 +01:00
Michael Kerrisk
0edb356c58
fmemopen.3: Small improvements to the description of open_memstream()
...
Make it a little more evident that the caller should not
pass a previously allocated buffer to open_memstream().
Reported-by: Rasmus Villemoes <Rasmus.Villemoes@decode.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 02:49:57 +01:00
Michael Kerrisk
d9b4881f64
fmemopen.3: Fix "Usage" message
...
Reported-by: Rasmus Villemoes <Rasmus.Villemoes@decode.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 02:33:45 +01:00
Michael Kerrisk
852d92f7ae
getnameinfo.3: Update FTM requirements
...
The FTM requirements changed in glibc 2.22
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 02:28:38 +01:00
Michael Kerrisk
5358a2546d
getaddrinfo.3: Update FTM requirements for glibc 2.22
...
Since glibc 2.22 getaddrinfo() etc. are only declared for
POSIX.1-2001 or later.
Reported-by: Andreas Schwab <schwab@suse.de>
Reported-by: Orion Poplawski <orion@cora.nwra.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 02:19:11 +01:00
Michael Kerrisk
c50730b607
gamma.3: gamma() was documented in SVID 2
...
Reported-by: Alan Cox <etchedpixels@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 01:05:16 +01:00
Michael Kerrisk
f1e369b09f
ntp_adjtime.3: New link to adjtimex(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 00:36:16 +01:00
Jérémie Galarneau
4d70ca99ed
posix_fallocate.3: ERRORS: add EINTR
...
The glibc implementation of posix_fallocate(), which calls
fallocate(), may be interrupted. The fallocate() emulation
also makes use of pread()/pwrite(), which may also be
interrupted.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 00:34:48 +01:00
Michael Kerrisk
85c30f7eab
ntp_gettime.3: Add ATTRIBUTES section
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-07 11:15:18 +01:00
Michael Kerrisk
39ad98a088
sysconf.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-07 11:15:18 +01:00
Michael Kerrisk
b5133e9ad9
ntp_gettime.3: Note that these APIs always succeed
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-07 11:15:18 +01:00
Michael Kerrisk
cfb9b2f966
ntp_gettimex.3: New link to ntp_gettime.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-07 01:36:29 +01:00
Michael Kerrisk
6d78bc966a
ntp_gettime.3: New page describing ntp_gettime(3) and ntp_gettimex(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-07 01:34:55 +01:00
Michael Kerrisk
82b43a7692
posix_spawn.3: Tweak a few more details
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-05 10:26:32 +01:00
Michael Kerrisk
5356204785
posix_spawn.3: Add note on "posix_fspawn" functionality
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-05 10:26:32 +01:00
Michael Kerrisk
7b5e3ad522
posix_spawn.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-05 10:26:32 +01:00
Michael Kerrisk
c0d82fb9cb
posix_spawnp.3: New link to new posix_spawn.3 page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-05 10:26:32 +01:00
Michael Kerrisk
10069ed030
posix_spawn.3: Major reworking of and additions to contributed page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-05 10:26:32 +01:00
Bill O. Gallmeister
a5458d4938
posix_spawn.3: New man page for posix_spawn(3) and posix_spawnp(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-05 10:26:32 +01:00
Michael Kerrisk
df383cdf95
posix_memalign.3: Note posix_memalign()'s treatment of 'memptr' on error
...
Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-05 08:52:29 +01:00
Michael Kerrisk
9c048ec195
fmemopen.3: Note one more memory stream bug that was fixed in glibc 2.22
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-02 16:23:19 +01:00
Michael Kerrisk
39ef79baad
fmemopen.3: Note various fmemopen() bugs that were fixed in glibc 2.22
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-02 16:23:19 +01:00
Michael Kerrisk
f435db47cd
opendir.3: Help the reader by explicitly mentioning the use of readdir(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-02 12:32:04 +01:00
Michael Kerrisk
0fdfbd140d
readdir.3: Minor tweaks to 'd_name' text
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-02 12:30:32 +01:00
Michael Kerrisk
307b34a803
readdir.3: Add a lot more detail on portable use of the 'd_name' field
...
Include also some information from comments by Florian Weimer,
Paul Eggert, and Rich Felker.
Reported-by: Florian Weimer <fweimer@redhat.com>
Reported-by: Rich Felker <dalias@aerifal.cx>
Reported-by: Paul Eggert <eggert@cs.ucla.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-02 12:30:32 +01:00
Michael Kerrisk
6550b8275b
readdir.3: Near complete restructuring of the page and add some further details
...
The mixture of information across DESCRIPTION and NOTES did
not lend itself to easy reading...
While we're at it, add some missing details as well.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-02 12:30:32 +01:00
Michael Kerrisk
df7a8fc91e
readdir.3: Explain how to distinguish end of stream from an error
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-02 08:41:26 +01:00
Michael Kerrisk
96604453fd
readdir.3, readdir_r.3: Split readdir_r() content into separate page
...
As suggested by Florian Weimer:
It may make sense to move this documentation to a separate
manual page, specific to readdir_r. This will keep the
readdir() documentation nice and crisp. Most programmers
will never have to consult all these details.
Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 21:07:01 +01:00
Michael Kerrisk
c48f13805c
readdir.3: Remove misleading code example using pathconf()
...
As noted by Florian:
The kernel does not return valid values for _PC_NAME_MAX and
some file systems (such as CIFS, and CD-ROMs with Joliet
extensions once a kernel bug is fixed). The CIFS limit is
somewhere around 765, and not 255 as reported by the kernel.
If I recall correctly, Windows SMB servers can actually
exceed the 255 byte limit. The reason is that Windows NTFS
has a limit based on 16-bit UCS-2 characters, and after
UTF-8 conversion, the maximum length is more than 255 bytes.
Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:31:56 +01:00
Michael Kerrisk
0c52f6d623
readdir.3: Explain why readdir_r() is deprecated and readdir() is preferred
...
Based on Florian Weimer's text that was added to the glibc manual;
relicensed for use in this man page by permission of Florian.
See http://www.austingroupbugs.net/view.php?id=696
and https://sourceware.org/bugzilla/show_bug.cgi?id=14699
Cowritten-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:25:51 +01:00
Michael Kerrisk
cff459dea2
kill.2, sigaction.2, sigpending.2, sigprocmask.2, sigsuspend.2, ctermid.3, ferror.3, fopen.3, getaddrinfo.3, getnameinfo.3, longjmp.3, rand.3, setjmp.3, sigsetops.3, sigwait.3, tzset.3: Simply FTM requirements
...
_XOPEN_SOURCE implies _POSIX_C_SOURCE >=2, so simplify FTM
requirements in various pages.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:05 +01:00
Michael Kerrisk
d59161f912
ctime.3, ffs.3, finite.3, flockfile.3, gethostbyname.3, getnameinfo.3, getw.3, insque.3, isalpha.3, popen.3, printf.3, siginterrupt.3, strdup.3, strtok.3, toascii.3, tzset.3, unlocked_stdio.3: Update FTM requirements (mostly _DEFAULT_SOURCE)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:05 +01:00
Michael Kerrisk
97ff735155
tmpnam.3: Remove mention od _BSD_SOURCE and _SVID_SOURCE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:04 +01:00
Michael Kerrisk
6b8b0e500c
strtok.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:04 +01:00
Michael Kerrisk
9db90c7cc9
getgrent.3, getgrnam.3, getpwent.3, getpwnam.3: Updaye FTM requirements (mostly _DEFAULT_SOURCE)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:04 +01:00
Michael Kerrisk
c1016e8767
kill.2, sigaction.2, sigpending.2, sigprocmask.2, sigsuspend.2, ctermid.3, ctime.3, ferror.3, flockfile.3, fopen.3, getaddrinfo.3, getgrnam.3, getnameinfo.3, getpwnam.3, rand.3, sigsetops.3, sigwait.3, strtok.3, tzset.3, unlocked_stdio.3, feature_test_macros.7: Remove mention of the obsolete _POSIX_SOURCE macro from SYNOPSIS
...
_POSIX_SOURCE was a POSIX.1-1990 creation that was soon made
obsolete bu _POSIX_C_SOURCE. Retaining mention of it
in the feature test macro requirements section of the
SYNOPSIS doesn't contain important information, and may
mislead readers into actually trying to use this macro.
A few mentions of it a maintained in a some pages where
defining _POSIX_SOURCE inhibits some behavior.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:04 +01:00
Michael Kerrisk
c4a256e267
strerror.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:04 +01:00
Michael Kerrisk
a30128b4cc
dirfd.3, readdir.3, scandir.3, seekdir.3, telldir.3: Update FTM requirements (mostly _DEFAULT_SOURCE)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:04 +01:00
Michael Kerrisk
2b1b042487
a64l.3, atoi.3, clearenv.3, drand48.3, drand48_r.3, ecvt.3, ecvt_r.3, gcvt.3, mkstemp.3, mktemp.3, posix_memalign.3, putenv.3, random.3, random_r.3, realpath.3, setenv.3, strtol.3, strtoul.3: Update FTM requirements (mostly _DEFAULT_SOURCE)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:04 +01:00
Michael Kerrisk
6e0869f758
getcwd.3, getdtablesize.3, getpass.3, lockf.3, ualarm.3, usleep.3: Update FTM requirements (mainly _DEFAULT_SOURCE)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:04 +01:00
Michael Kerrisk
e0a68e13d9
acosh.3, asinh.3, atanh.3: Update FTM requirements (_DEFAULT_SOURCE)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:04 +01:00
Michael Kerrisk
827cdae3f1
_exit.2, abs.3, acos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, atoi.3, cbrt.3, ceil.3, copysign.3, cos.3, cosh.3, div.3, erf.3, erfc.3, exp.3, exp2.3, expm1.3, fabs.3, fdim.3, finite.3, floor.3, fma.3, fmax.3, fmin.3, fmod.3, fpclassify.3, frexp.3, fwide.3, hypot.3, ilogb.3, isalpha.3, isgreater.3, iswblank.3, ldexp.3, lgamma.3, log.3, log10.3, log1p.3, log2.3, logb.3, lrint.3, lround.3, modf.3, nan.3, nextafter.3, pow.3, printf.3, remainder.3, remquo.3, rint.3, round.3, scalbln.3, scanf.3, signbit.3, sin.3, sinh.3, sqrt.3, strtod.3, strtol.3, strtoul.3, tan.3, tanh.3, tgamma.3, trunc.3, wprintf.3: Remove "or 'cc -std=c99'" from SYNOPSIS
...
Under the FTM requirements all of these pages document the
requirement for _ISOC99_SOURCE. And feature_test_macros(7) now
documents that "cc -std=c99" produces the same effect as defining
_ISOC99_SOURCE. So, all of these pages don't additionally need
to specify "or 'cc -std=c99'" under the FTM requirements
in the SYNOPSIS. Removing that redundant text also simplifies
the SYNOPSIS a little.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:04 +01:00
Michael Kerrisk
cd2d5ec163
exp2.3, finite.3, fwide.3, log2.3, nextafter.3, printf.3, rint.3, wprintf.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:04 +01:00
Michael Kerrisk
636ed4d58d
acosh.3, asinh.3, atanh.3, cbrt.3, erf.3, erfc.3, expm1.3, fpclassify.3, gamma.3, hypot.3, ilogb.3, j0.3, lgamma.3, log1p.3, logb.3, matherr.3, nextafter.3, remainder.3, rint.3, scalb.3, scalbln.3, significand.3, y0.3: Update FTM requirements (_DEFAULT_SOURCE)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:04 +01:00
Michael Kerrisk
e9d91bcf4c
acos.3, asin.3, atan.3, atan2.3, ceil.3, copysign.3, cos.3, cosh.3, exp.3, fabs.3, floor.3, fmod.3, frexp.3, ldexp.3, log.3, log10.3, modf.3, pow.3, sin.3, sinh.3, sqrt.3, tan.3, tanh.3: Update FTM requirements (_DEFAULT_SOURCE)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:04 +01:00
Michael Kerrisk
aa573adabf
dirfd.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:03 +01:00
Michael Kerrisk
51c612fb9f
getgroups.2, gettimeofday.2, mincore.2, readv.2, stime.2, wait4.2, addseverity.3, adjtime.3, cfree.3, dysize.3, fgetgrent.3, fgetpwent.3, futimes.3, getdirentries.3, getgrent_r.3, getgrouplist.3, getmntent.3, getnetent_r.3, getprotoent_r.3, getpwent_r.3, getrpcent_r.3, getservent_r.3, getspnam.3, gsignal.3, initgroups.3, mkdtemp.3, on_exit.3, perror.3, psignal.3, putpwent.3, rcmd.3, rpmatch.3, setbuf.3, setnetgrent.3, sigvec.3, strsep.3, syslog.3, tempnam.3, termios.3, timegm.3, timeradd.3: Update FTM requirements (_DEFAULT_SOURCE)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:03 +01:00
Michael Kerrisk
3dd87b7c99
setjmp.3: Remove reference to obsolete _XOPEN_SOURCE_EXTENDED
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:03 +01:00
Michael Kerrisk
b40ec4cbf8
ttyslot.3: Update FTM requirements (_DEFAULT_SOURCE)
...
And remove mention of obsolete _XOPEN_SOURCE_EXTENDED
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:03 +01:00
Michael Kerrisk
cf7fa0a179
brk.2, chdir.2, chmod.2, chown.2, chroot.2, getpagesize.2, getsid.2, killpg.2, mknod.2, readlink.2, setpgid.2, setreuid.2, sigaltstack.2, stat.2, symlink.2, sync.2, truncate.2, vfork.2, wait.2, wait4.2, a64l.3, acosh.3, asinh.3, atanh.3, cbrt.3, ecvt.3, expm1.3, gcvt.3, getcwd.3, getdate.3, getdtablesize.3, getgrent.3, gethostid.3, getpass.3, getpwent.3, getsubopt.3, ilogb.3, insque.3, lockf.3, log1p.3, logb.3, mkstemp.3, mktemp.3, nextafter.3, posix_memalign.3, random.3, realpath.3, remainder.3, rint.3, scalb.3, siginterrupt.3, sigset.3, strdup.3, ualarm.3, usleep.3: Remove references to _XOPEN_SOURCE_EXTENDED in SYNOPSIS
...
_XOPEN_SOURCE_EXTENDED is obsolete (it existed in SUSv1, but not
subsequent standards). _XOPEN_SOURCE >= 500 produces the same
effects as (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED). Modifying
the SYNOPSIS of various ages that contain:
_XOPEN_SOURCE\ >=\ 500 ||
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
to just:
_XOPEN_SOURCE\ >=\ 500
This has the following benefits:
a) Simplifying the SYNOPSIS by removing ancient
historical information.
b) Preventing users from being misled into using
_XOPEN_SOURCE_EXTENDED in new source code.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:03 +01:00
Michael Kerrisk
7f0ec8eed6
endian.3, getloadavg.3, getutent.3, inet.3, makedev.3, rexec.3: Update FTM requirements (_DEFAULT_SOURCE)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:03 +01:00
Michael Kerrisk
e1d0532862
scandir.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:03 +01:00
Michael Kerrisk
b0da7b8b76
access.2, chmod.2, chown.2, link.2, mkdir.2, open.2, readlink.2, rename.2, stat.2, symlink.2, unlink.2, utimensat.2, vfork.2, dirfd.3, fexecve.3, ffs.3, fmemopen.3, getcwd.3, gethostbyname.3, getline.3, mbsnrtowcs.3, mkdtemp.3, mkfifo.3, opendir.3, printf.3, psignal.3, qecvt.3, scandir.3, stpcpy.3, stpncpy.3, strdup.3, strnlen.3, strsignal.3, ualarm.3, usleep.3, wcpcpy.3, wcpncpy.3, wcscasecmp.3, wcsdup.3, wcsncasecmp.3, wcsnlen.3, wcsnrtombs.3: Simply FTM requirements
...
Looking at <features.h> (or feature_test_macros(7)), one can
see that when _XOPEN_SOURCE is defined with the value 700
(or greater), then _POSIX_C_SOURCE is defined with the value
200809L (or greater). Therefore, terms in the man pages such as
_XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
can be simpified to:
_POSIX_C_SOURCE\ >=\ 200809L
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:03 +01:00
Michael Kerrisk
e464f0546d
_exit.2, brk.2, abs.3, acos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, atoi.3, cbrt.3, ceil.3, copysign.3, cos.3, cosh.3, div.3, erf.3, erfc.3, exp.3, expm1.3, fabs.3, fdim.3, floor.3, fma.3, fmax.3, fmin.3, fmod.3, fpclassify.3, frexp.3, hypot.3, ilogb.3, isalpha.3, isgreater.3, iswblank.3, ldexp.3, lgamma.3, log.3, log10.3, log1p.3, logb.3, lrint.3, lround.3, modf.3, nan.3, nextafter.3, posix_memalign.3, pow.3, remainder.3, remquo.3, round.3, scalbln.3, scanf.3, signbit.3, sin.3, sinh.3, sqrt.3, strtod.3, strtol.3, strtoul.3, tan.3, tanh.3, tgamma.3, trunc.3: Simplify FTM requirements
...
Looking at <features.h> (or feature_test_macros(7)), one can
see that when _XOPEN_SOURCE is defined with the value 600
(or greater), then _POSIX_C_SOURCE is defined with the value
200112L (or greater). Therefore, terms in the man pages such as
_XOPEN_SOURCE\ >=\ 600 || _POSIX_C_SOURCE\ >=\ 200112L
can be simplified to:
_POSIX_C_SOURCE\ >=\ 200112L
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>`
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:03 +01:00
Michael Kerrisk
a446ac0c68
brk.2, chroot.2, clock_nanosleep.2, getpagesize.2, posix_fadvise.2, select.2, select_tut.2, seteuid.2, clock_getcpuclockid.3, ecvt.3, exp2.3, fseeko.3, gcvt.3, getdtablesize.3, getpass.3, getw.3, log2.3, mktemp.3, mq_receive.3, mq_send.3, posix_fallocate.3, posix_madvise.3, posix_memalign.3, pthread_attr_setstack.3, rint.3, sem_wait.3, setenv.3, sockatmark.3, strerror.3: Simplify FTM requirements
...
Looking at <features.h> (or feature_test_macros(7)), one can
see that when _XOPEN_SOURCE is defined with the value 600
(or greater), then _POSIX_C_SOURCE is defined with the value
200112L (or greater). Therefore, terms in the man pages such as
_XOPEN_SOURCE\ >=\ 600 || _POSIX_C_SOURCE\ >=\ 200112L
can be simpified to:
_POSIX_C_SOURCE\ >=\ 200112L
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:03 +01:00
Michael Kerrisk
d054453419
acct.2, getdomainname.2, gethostname.2, vhangup.2, daemon.3, gethostid.3, getusershell.3, profil.3: Update feature test macro requirements
...
Update to use _DEFAULT_SOURCE, and also changes brought by
glibc commit 266865c0e7b79d4196e2cc393693463f03c90bd8.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 20:01:03 +01:00
Michael Kerrisk
b105252461
readdir.3: Reorder text describing readdir_r()
...
(This is done in preparation for discussing glibc 2.23 changes.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 11:01:27 +01:00
Michael Kerrisk
119cb943f0
readdir.3: srcfix: add missing 2008 copyright note
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 11:01:27 +01:00
Michael Kerrisk
cefcfd92d5
backtrace.3: Minor reworking in example program
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-01 11:01:27 +01:00
Jakub Wilk
40da0793a6
getaddrinfo.3: tfix
...
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-28 14:39:01 +01:00
Michael Kerrisk
a222234619
backtrace.3: Small fixes to example program
...
Reported-by: Martin Gebert <Murphy.Gebert@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-26 16:45:17 +01:00
Michael Kerrisk
271ee1bf63
termios.3: SEE ALSO: add tty(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-26 13:20:09 +01:00
Michael Kerrisk
23ec905b42
setbuf.3: SEE ALSO: add stdbuf(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-26 12:58:44 +01:00
Michael Kerrisk
9bfa6a8427
sleep.3: SEE ALSO: add sleep(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-26 12:32:13 +01:00
Michael Kerrisk
b936906ac9
getcwd.3: SEE ALSO: add pwd(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-26 12:30:10 +01:00
Michael Kerrisk
06cdf61aca
fts.3: BUGS: glibc-2.23 now has LFS support for the fts functions
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-22 09:21:45 +01:00
Michael Kerrisk
c66649c835
clearenv.3: Clarify the use and effect of clearenv()
...
See http://bugs.debian.org/679323
Reported-by: Matt Zimmerman <mdz@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-19 13:07:58 +01:00
Michael Kerrisk
e44a70d63b
clearenv.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-19 13:07:58 +01:00
Michael Kerrisk
f34269b6ed
clearenv.3: Variables can be added to the environment after calling clearenv()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-19 13:07:58 +01:00
Michael Kerrisk
e8f9c18c31
clearenv.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-19 13:07:57 +01:00
Michael Kerrisk
d2229a2b2f
clog10.3: Show an alternative equivalence for clog10()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-19 13:07:57 +01:00
Michael Kerrisk
d8334b03a5
clog10.3: Update CONFORMING TO
...
Fix grammar error and add C11.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-19 13:07:57 +01:00
Michael Kerrisk
5c6de1fc37
strnlen.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-18 14:17:29 +01:00
Michael Kerrisk
5af40309cc
strlen.3: CONFORMING TO: add C11
...
Reported-by: Alan Aversa <alan.aversa@cox.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-18 14:10:15 +01:00
Michael Kerrisk
b357f2c97c
strlen.3: wfix
...
Reported-by: Alan Aversa <alan.aversa@cox.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-18 14:09:49 +01:00
Michael Kerrisk
2ddb74c035
strlen.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-18 13:27:02 +01:00
Michael Kerrisk
988c4c4263
termios.3: Further improvements to recent tweaks of canonical mode 4096 char limit
...
Reported-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-18 12:23:21 +01:00
Michael Kerrisk
4a66305922
printf.3: tfix
...
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756599
Reported-by: Jakub Wilk <jwilk@debian.org>
Reported-by: Stéphane Aulery <lkppo@free.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-17 13:10:37 +01:00
Michael Kerrisk
332aaf19ff
setjmp.3: wfix
...
Reported-by: Stephan Bergmann <sbergman@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-17 12:08:38 +01:00
Michael Kerrisk
082efcce8b
signal.7: Note the interactions of longjmp() and non-async-signal-safe functions
...
See http://austingroupbugs.net/view.php?id=516#c1195 .
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:36 +01:00
Michael Kerrisk
f1d6ee6211
setjmp.3: Note the interactions of longjmp() and non-async-signal-safe functions
...
POSIX.1-2008 TC2 adds explicit text on this point.
See http://austingroupbugs.net/view.php?id=516#c1195
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:36 +01:00
Michael Kerrisk
b51ef507b8
longjmp.3: Replace page with link to setjmp(3), which now incorporates longjmp()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:36 +01:00
Michael Kerrisk
a26c590b88
siglongjmp.3: Rewire link to point to setjmp(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:36 +01:00
Michael Kerrisk
efc626f8f5
setjmp.3: Rewrite and merge longjmp()/siglongjmp() discussion into this page
...
The discussion of nonlocal gotos is much easier to read if
setjmp() and longjmp() are discussed in the same page. While
we're at it, rework almost the entire text and add several
more details.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:30 +01:00
Michael Kerrisk
84d75c06d5
longjmp.3: Refer the reader to NOTES in setjmp(3)
...
There the reader will see the just expanded discussion of
why nonlocal gotos can make code harder to maintain.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:30 +01:00
Michael Kerrisk
405180660c
setjmp.3: Explain why nonlocal gotos make code harder to maintain
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:26 +01:00
Michael Kerrisk
57f79036a4
setjmp.3: Reword warning on longjmp() to function that has already returned
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 12:55:08 +01:00
Michael Kerrisk
fa03b85f87
longjmp.3: Remove redundant warning
...
The warning that nonlocal gotos make a program hard to maintain
is also given in setjmp(3). No need to repeat it here.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 12:50:19 +01:00
Michael Kerrisk
7a727dc4ab
termios.3: Tweaks to Tobias's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 16:24:50 +01:00