Commit Graph

3080 Commits

Author SHA1 Message Date
Michael Kerrisk 9a86ff918e unshare.2, sched_getcpu.3, elf.5, capabilities.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 13:36:54 +02:00
Michael Kerrisk 70ef44dec5 ualarm.3: Add note on the behavior when 'usecs' is zero
POSIX.1-2001 does not specify the behavior in this case
and no other system that I checked documented the behavior.
Probably, most or all systems do what Linux does in this
case: cancel any pending alarm, just as alarm(0) does.
Add that info in NOTES.

Reported-by: Nicolas Hillegeer <nicolas@hillegeer.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 13:27:25 +02:00
Michael Kerrisk 290e89bd22 getaddrinfo.3: tfix
Reviewed-by: Damien Grassart <damien@grassart.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 13:23:41 +02:00
Andrew Clayton 1ba74ca217 pthread_setname_np.3: The thread argument is passed in by value
Signed-off-by: Andrew Clayton <andrew@digital-domain.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-02 09:12:53 +02:00
Simon Paillard b18188c545 time.1, addseverity.3, fdim.3, fmtmsg.3, getttyent.3, key_setsecret.3, setnetgrent.3, tty_ioctl.4: License headers: consistent format
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:46 +02:00
Simon Paillard 6229018159 kcmp.2, quotactl.2, subpage_prot.2, get_nprocs_conf.3, if_nameindex.3, if_nametoindex.3: tfix
There are some extra dots in the license text compared to original one.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:46 +02:00
Michael Kerrisk cd05d2ff0b sched_getcpu.3: Update feature test macro requirements
The requirements quietly changed changed in glibc 2.14

See also http://www.sourceware.org/bugzilla/show_bug.cgi?id=4749

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:46 +02:00
Michael Kerrisk 33a0ccb293 intro.1, _syscall.2, access.2, arch_prctl.2, cacheflush.2, chown.2, clock_getres.2, clone.2, create_module.2, fcntl.2, flock.2, get_kernel_syms.2, get_robust_list.2, get_thread_area.2, getcpu.2, getpriority.2, getrlimit.2, getrusage.2, ioprio_set.2, kexec_load.2, madvise.2, mbind.2, migrate_pages.2, mknod.2, mmap.2, mount.2, move_pages.2, mprotect.2, open.2, pause.2, pciconfig_read.2, perf_event_open.2, prctl.2, ptrace.2, query_module.2, read.2, reboot.2, recv.2, s390_runtime_instr.2, sched_setscheduler.2, select_tut.2, send.2, set_mempolicy.2, setfsgid.2, setfsuid.2, sigaction.2, spu_create.2, spu_run.2, stime.2, swapon.2, syslog.2, timer_create.2, timer_getoverrun.2, times.2, tkill.2, umount.2, unimplemented.2, ustat.2, vm86.2, wait.2, abs.3, aio_read.3, aio_write.3, bsd_signal.3, catgets.3, clearenv.3, cmsg.3, dbopen.3, dirfd.3, dlopen.3, exec.3, fenv.3, ferror.3, fmemopen.3, fnmatch.3, fopen.3, futimes.3, getaddrinfo.3, getifaddrs.3, getipnodebyname.3, hsearch.3, if_nameindex.3, inet_pton.3, mblen.3, mbrlen.3, mbsrtowcs.3, mbtowc.3, mcheck.3, memfrob.3, mq_notify.3, netlink.3, posix_memalign.3, printf.3, pthread_attr_setscope.3, pthread_cleanup_push.3, pthread_kill_other_threads_np.3, pthread_self.3, pthread_setcancelstate.3, pthread_setconcurrency.3, raise.3, resolver.3, rpc.3, rtime.3, rtnetlink.3, scanf.3, setbuf.3, setnetgrent.3, shm_open.3, sigpause.3, sigset.3, sigwait.3, sockatmark.3, strcasecmp.3, strcmp.3, strdup.3, strftime.3, strptime.3, strsignal.3, strverscmp.3, sysv_signal.3, termios.3, wcrtomb.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wctomb.3, wprintf.3, console_codes.4, cpuid.4, msr.4, rtc.4, sk98lin.4, st.4, tty.4, charmap.5, core.5, elf.5, hosts.equiv.5, proc.5, resolv.conf.5, services.5, slabinfo.5, arp.7, bootparam.7, capabilities.7, charsets.7, cpuset.7, ddp.7, epoll.7, feature_test_macros.7, futex.7, hier.7, icmp.7, inotify.7, ip.7, ipv6.7, man-pages.7, mdoc.7, mdoc.samples.7, netdevice.7, netlink.7, numa.7, packet.7, path_resolution.7, posixoptions.7, pthreads.7, raw.7, rtld-audit.7, rtnetlink.7, sem_overview.7, sigevent.7, socket.7, spufs.7, tcp.7, udp.7, unicode.7, uri.7, utf-8.7, intro.8, ldconfig.8, sync.8: Global fix: fix placement of word "only"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-01 14:53:46 +02:00
Michael Kerrisk 73f4bf1eab readir.3, seekdir.3, telldir.3: Eliminate the implication that these functions deal with "offsets"
The directory position dealt with by the readdir() and
friends is not a simple file offset in modern file systems.
Typically, it is some kind of cookie value. Add text and
make other changes to these pages to eliminate the
implication that this is an offset, and warn the reader
that directory positions should be treated strictly as
opaque values.

In the process, rename the 'offset' argument of seekdir(3)
to 'loc', and add some text to readdir(3) to note that
the 'd_off' field is the same value returned by telldir(3)
at the current directory position.

See also https://lwn.net/Articles/544298/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 13:03:39 +01:00
Mark H Weaver 675a8e30ab scalb.3: Fix prototypes for scalbf() and scalbl()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:28 +01:00
Michael Kerrisk b45197b694 posix_memalign.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:28 +01:00
Michael Kerrisk a692b18994 mbrtowc.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:28 +01:00
Michael Kerrisk 7b3a353f9f mbsnrtowcs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:28 +01:00
Michael Kerrisk 8c917f5c94 wctomb.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:28 +01:00
Michael Kerrisk c639d15119 wcsrtombs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:28 +01:00
Michael Kerrisk 1c008960cd wcsnrtombs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:27 +01:00
Michael Kerrisk d8165d5b5c mbtowc.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:27 +01:00
Michael Kerrisk 0d44d05f6d exit.3: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:27 +01:00
Michael Kerrisk e3948c69dd getrusage.2, ptrace.2, stpcpy.3, stpncpy.3: srcfix: start new sentence on new source line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-25 12:12:27 +01:00
Michael Kerrisk 70a97b165d fopencookie.3: Correct definition of cookie_io_functions_t
Reported-by: Ralph Loader <suckfish@ihug.co.nz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-17 08:49:00 +01:00
Michael Kerrisk ac56b6a845 _exit.2, access.2, alarm.2, close.2, link.2, mkdir.2, mknod.2, open.2, read.2, rename.2, rmdir.2, s390_runtime_instr.2, symlink.2, unlink.2, write.2, remove.3, charsets.7: srcfix: Tidy copyright notices
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-16 09:39:00 +01:00
Michael Kerrisk 50b2aa276a Removed trailing white space at end of lines 2013-03-15 08:17:23 +01:00
Michael Kerrisk 45e32119fa futex.2, futimes.3, getpass.3, realpath.3, stdarg.3, termios.3, bootparam.7, socket.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-15 08:16:49 +01:00
Michael Kerrisk 231c55393d canonicalize_file_name.3: Rewrite page, adding much more detail
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-14 10:14:32 +01:00
Michael Kerrisk 0bba64e4f4 realpath.3: Document GNU extensions for EACCES and ENOENT errors
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-14 09:06:04 +01:00
Michael Kerrisk 2221c1b910 realpath.3: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-14 09:05:53 +01:00
Michael Kerrisk e787eabaed stdin.3, tgamma.3, xcrypt.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:23:52 +01:00
Michael Kerrisk 66ace94e96 sincos.3: srcfix copyright
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:20:48 +01:00
Michael Kerrisk ce34705354 signbit.3, significand.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:20:20 +01:00
Michael Kerrisk a5e73dd4af remquo.3, rtime.3, rtnetlink.3, setnetgrent.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:19:46 +01:00
Michael Kerrisk 1fcd9102a4 remove.3: srcfix copyright
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:18:24 +01:00
Michael Kerrisk 2e2d817cd5 printf.3: srcfix copyright
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:17:17 +01:00
Michael Kerrisk 51f2944d96 nan.3, netlink.3, nextafter.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:16:55 +01:00
Michael Kerrisk 38ecdde7cb mempcpy.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:15:52 +01:00
Michael Kerrisk 9b21ca97a7 makecontext.3, malloc_hook.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:15:31 +01:00
Michael Kerrisk 9981365e24 lgamma.3: srcfix copyright
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:14:21 +01:00
Michael Kerrisk 1714d18473 isgreater.3, key_setsecret.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:14:06 +01:00
Michael Kerrisk 9f9c6de199 getifaddrs.3, getnameinfo.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:13:02 +01:00
Michael Kerrisk a093807e99 gethostid.3: srcfix copyright
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:12:12 +01:00
Michael Kerrisk 87fb0df822 getgrouplist.3: srcfix copyright
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:11:49 +01:00
Michael Kerrisk 0389adc9a3 envz_add.3, euidaccess.3, fma.3, fmemopen.3, fmtmsg.3, fpclassify.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:11:35 +01:00
Michael Kerrisk 26aaaac9b1 dprintf.3: srcfix copyright
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:09:31 +01:00
Michael Kerrisk ffe8c23b09 des_crypt.3: srcfix copyright
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:09:05 +01:00
Michael Kerrisk a781c7d0d3 vhangup.2, argz_add.3, cmsg.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 12:08:49 +01:00
Michael Kerrisk 030454526d stdarg.3: Describe va_copy()
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575077

Reported-by: Friedrich Delgado Friedrichs <friedel@nomaden.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 10:31:09 +01:00
Michael Kerrisk 764d3de3bc termios.3: Mention that noncanonical mode does not do input processing
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643854

Reported-by: Bernhard Kuemel <bernhard@bksys.at>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 10:31:09 +01:00
Michael Kerrisk 63bed6ae25 getpass.3: Suggest use of the ECHO flag as an alternative
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644261

Reported-by: Erik Saule <erik.saule@bmi.osu.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 10:31:09 +01:00
Michael Kerrisk 0f12d51807 futimes.3: ERRORS: Add ENOSYS for lutimes()
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620746

Reported-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 10:31:09 +01:00
Michael Kerrisk cf20d7d36b exec.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 10:31:09 +01:00
Michael Kerrisk 8ff7380d6f epoll_create.2, epoll_ctl.2, epoll_wait.2, eventfd.2, fallocate.2, futex.2, getcpu.2, getitimer.2, ioctl_list.2, ioprio_set.2, migrate_pages.2, move_pages.2, pciconfig_read.2, sendfile.2, setns.2, signalfd.2, spu_create.2, spu_run.2, sysinfo.2, timerfd_create.2, backtrace.3, cmsg.3, error.3, getpt.3, getrpcent.3, getrpcport.3, getsubopt.3, offsetof.3, program_invocation_name.3, rpc.3, rpmatch.3, rtnetlink.3, xdr.3, cciss.4, hpsa.4, pts.4, charmap.5, dir_colors.5, elf.5, gai.conf.5, locale.5, nscd.conf.5, nss.5, resolv.conf.5, rpc.5, arp.7, cpuset.7, ddp.7, epoll.7, fifo.7, futex.7, icmp.7, ip.7, ipv6.7, mailaddr.7, netdevice.7, packet.7, raw.7, regex.7, rtnetlink.7, socket.7, spufs.7, tcp.7, udp.7, unix.7, x25.7, ldconfig.8, nscd.8: Global fix: s/END_LICENSE/LICENSE_END/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-12 10:31:09 +01:00