Commit Graph

3503 Commits

Author SHA1 Message Date
Peng Haitao c34520675c erfc.3: ATTRIBUTES: Note functions that are thread-safe
The functions erfc(), erfcf() and erfcl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-30 14:43:42 +13:00
Peng Haitao 43b7b5ee23 erf.3: ATTRIBUTES: Note functions that are thread-safe
The functions erf(), erff() and erfl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-30 14:43:26 +13:00
Peng Haitao 51f3762661 difftime.3: ATTRIBUTES: Note function that is thread-safe
The function difftime() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-30 14:42:54 +13:00
Peng Haitao be63524ed3 daemon.3: ATTRIBUTES: Note function that is thread-safe
The function daemon() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-30 14:42:28 +13:00
Peng Haitao 18c5047e79 bzero.3: ATTRIBUTES: Note function that is thread-safe
The function bzero() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:26:10 +13:00
Peng Haitao 2be8b1b283 termios.3: ATTRIBUTES: Note functions that are thread-safe
The functions tcgetattr(), tcsetattr(), tcsendbreak(),
tcdrain(), tcflush(), tcflow(), cfmakeraw(), cfgetispeed(),
cfgetospeed(), cfsetispeed(), cfsetospeed() and cfsetspeed()
are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:26:05 +13:00
Peng Haitao 1d4be868bd bsd_signal.3: ATTRIBUTES: Note function that is thread-safe
The function bsd_signal() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:25:59 +13:00
Peng Haitao d1dcc57fba bcopy.3: ATTRIBUTES: Note function that is thread-safe
The function bcopy() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:25:53 +13:00
Peng Haitao 3d678a4c57 bcmp.3: ATTRIBUTES: Note function that is thread-safe
The function bcmp() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:25:40 +13:00
Peng Haitao a2f0602bdd expm1.3: ATTRIBUTES: Note functions that are thread-safe
The functions expm1(), expm1f() and expm1l() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:24:40 +13:00
Peng Haitao ad6be0a409 cos.3: ATTRIBUTES: Note functions that are thread-safe
The functions cos(), cosf() and cosl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:24:13 +13:00
Peng Haitao a5398d89ac asinh.3: ATTRIBUTES: Note functions that are thread-safe
The functions asinh(), asinhf() and asinhl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:23:48 +13:00
Peng Haitao a2d1783de2 copysign.3: wfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:23:24 +13:00
Peng Haitao e244bc6982 copysign.3: ATTRIBUTES: Note functions that are thread-safe
The functions copysign(), copysignf() and copysignl() are thread
safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:23:04 +13:00
Peng Haitao 843204f875 atoi.3: ATTRIBUTES: Note functions that are thread safe with exceptions
The functions atoi(), atol() and atoll() are thread safe with
exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:22:49 +13:00
Peng Haitao b5dedda7d3 atof.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function atof() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:20:06 +13:00
Peng Haitao 941daa87c7 atan.3: ATTRIBUTES: Note functions that are thread-safe
The functions atan(), atanf() and atanl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:18:36 +13:00
Peng Haitao fdceb0bdc6 alloca.3: ATTRIBUTES: Note function that is thread-safe
The function alloca() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:18:21 +13:00
Peng Haitao 31047e642c adjtime.3: ATTRIBUTES: Note function that is thread-safe
The function adjtime() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:18:11 +13:00
Peng Haitao bea300ad81 ftok.3: ATTRIBUTES: Note function that is thread-safe
The function ftok() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:18:04 +13:00
Greg Price 25630b2764 malloc.3: Scale back promises of alignment
It's not true that the return value is suitably aligned for "any
variable"; for example, it's unsuitable for a variable like
  float *x __attribute__ ((__vector_size__ (32)));
which requires 32-byte alignment.  Types like this are defined in
<avxintrin.h>, and with 16-byte alignment in <emmintrin.h> and
<xmmintrin.h>, so the application programmer need not even know
that a vector_size attribute has been applied.

On an x86 architecture, a program that loads from or stores to a
pointer with this type derived from malloc can crash because GCC
generates an aligned load/store, like MOVDQA.

The C99 standard (TC3, as of N1256) does say the return value is
suitably aligned for "any type of object".  The C11 standard (as
of N1570) revises this to any type with "fundamental alignment",
which means an alignment "supported by the implementation in all
contexts", which I suppose tautologically includes aligning
malloc/realloc return values.

The actual behavior of current glibc malloc is to align to the
greater of 2 * sizeof(size_t) and __alignof__ (long double),
which may be one bit greater than this commit promises.

Signed-off-by: Greg Price <price@mit.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:16:19 +13:00
Michael Kerrisk 36e3fa2641 fexecve.3: Explain the use and rationale of fexecve()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-25 12:37:41 +13:00
Michael Kerrisk 0397bccf5c fexecve.3: POSIX.1-2008 specifies fexecve()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-25 11:57:07 +13:00
Michael Kerrisk 779e42d021 setenv.3: Clarify that setenv() returns success in the overwrite==0 case
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-11 07:47:13 +13:00
Peng Haitao adb7cd334e des_crypt.3: ATTRIBUTES: Note functions that are thread-safe
The functions ecb_crypt(), cbc_crypt() and des_setparity() are
thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:17:11 +02:00
Peng Haitao 9f4658a7c9 creal.3: ATTRIBUTES: Note functions that are thread-safe
The functions creal(), crealf() and creall() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:16:39 +02:00
Peng Haitao 2d6c69dfdf cproj.3: wfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:15:56 +02:00
Peng Haitao 1e50524784 cproj.3: ATTRIBUTES: Note functions that are thread-safe
The functions cproj(), cprojf() and cprojl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:15:33 +02:00
Peng Haitao 680c76f15f cbrt.3: ATTRIBUTES: Note functions that are thread-safe
The functions cbrt(), cbrtf() and cbrtl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:15:05 +02:00
Peng Haitao 3e323f1255 dysize.3: ATTRIBUTES: Note function that is thread-safe
The function dysize() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:14:21 +02:00
Peng Haitao 94a133a483 euidaccess.3: ATTRIBUTES: Note functions that are thread-safe
The functions euidaccess() and eaccess() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:13:54 +02:00
Peng Haitao e0cf6f25d3 statvfs.3: ATTRIBUTES: Note functions that are thread-safe
The functions statvfs() and fstatvfs() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:12:34 +02:00
Peng Haitao 53d029b310 ftime.3: ATTRIBUTES: Note function that is thread-safe
The function ftime() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:11:51 +02:00
Michael Kerrisk 886ea57d14 assert.3, assert_perror.3, rexec.3, rpc.3: Reword a sentence to use more gender-neutral language
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:07:35 +02:00
Michael Kerrisk 9267ec37f4 sigsetops.3: Add 'const' to sigisemptyset(), sigorset(), sigandset() declarations
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-24 08:35:48 +02:00
Michael Kerrisk f9d8c4e6fc sigsetops.3: Rework text describing sigisemptyset(), sigorset(), and sigandset()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-24 08:31:23 +02:00
Michael Kerrisk ae7656b2a7 sigsetops.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-24 08:12:41 +02:00
Michael Kerrisk 48b6f08669 ioctl_list.2, kill.2, nfsservctl.2, sched_setaffinity.2, sched_setparam.2, sched_setscheduler.2, syscall.2, fma.3, fmax.3, fmin.3, ip.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-17 08:27:30 +02:00
Peng Haitao 69e8f02f23 wctomb.3: ATTRIBUTES: Note function that is not thread-safe
The function wctomb() is not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 09:02:29 +02:00
Peng Haitao 8cb0cd8252 drand48_r.3: ATTRIBUTES: Note functions that are thread-safe
The functions drand48_r(), erand48_r(), lrand48_r(),
nrand48_r(), mrand48_r(), jrand48_r(), srand48_r(), seed48_r(),
and lcong48_r() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 09:02:29 +02:00
Peng Haitao bbb97a015c seekdir.3: ATTRIBUTES: Note function that is thread-safe
The function seekdir() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 09:02:28 +02:00
Michael Kerrisk 464e572e99 pthread_sigqueue.3: tfix in SYNOPSIS
Reported-by: Andrew Hunter <andrewhhunter@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 05:48:14 +02:00
Michael Kerrisk 533b9c5cb3 printf.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:27:34 +02:00
Christopher Hall abbcef30df printf.3: Correctly describe the meaning of a negative precision
The printf(3) manpage says that a negative precision is taken to
be zero, whereas printf(3p) says that a negative precision is
taken as if the precision were omitted.  glibc agrees with the
latter (POSIX) specification.

Test code:

    printf("%f\n",42.0);      // "42.000000"
    printf("%.*f\n",0,42.0);  // "42"
    printf("%.*f\n",-1,42.0); // "42.000000"

This patch corrects the explanation to match what actually happens.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:26:28 +02:00
Michael Kerrisk 7d0ec5b670 gethostbyname.3: gai_strerror() is the modern replacement for herror() and hstrerror()
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:18:39 +02:00
Michael Kerrisk 930c9b6d23 gethostbyname.3: Add feature test macro requirements for errno
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:16:45 +02:00
Michael Kerrisk 85832c0a4d gethostbyname.3: Update feature test macro requirements for herror() and hstrerror()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:46:28 +02:00
Andreas Wiese 1ea76c666a strdup.3: tfix in feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:14:33 +02:00
Michael Kerrisk 21a1f5bd50 posix_memalign.3: 'errno" is indeterminate after a call to posix_memalign()
Reported-by: Will Newton <will.newton@linaro.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 07:58:45 +02:00
Michael Kerrisk 558f02dff0 posix_memalign.3: Clarify wording on "return value" when size==0
Reported-by: Will Newton <will.newton@linaro.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 09:06:39 +02:00
Peng Haitao f7dbb1ea62 telldir.3: ATTRIBUTES: Note function that is thread-safe
The function telldir() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:47:38 +02:00
Peng Haitao c242417af4 rewinddir.3: ATTRIBUTES: Note function that is thread-safe
The function rewinddir() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:47:18 +02:00
Peng Haitao 0352da6374 nextafter.3: wfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:47:06 +02:00
Peng Haitao e132eea1ab nextafter.3: ATTRIBUTES: Note functions that are thread-safe
The functions nextafter(), nextafterf(), nextafterl(),
nexttoward(), nexttowardf() and nexttowardl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:46:21 +02:00
Peng Haitao 39ea02302b rint.3: wfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:37:36 +02:00
Peng Haitao 36981c13b9 rint.3: ATTRIBUTES: Note functions that are thread-safe
The functions nearbyint(), nearbyintf(), nearbyintl(), rint(),
rintf() and rintl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:36:43 +02:00
Peng Haitao ed0b5a7807 mbsinit.3: ATTRIBUTES: Note function that is thread-safe
The function mbsinit() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:36:13 +02:00
Peng Haitao df348165e1 lround.3: ATTRIBUTES: Note functions that are thread-safe
The functions lround(), lroundf(), lroundl(), llround(),
llroundf() and llroundl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:35:33 +02:00
Peng Haitao 5399a562d3 lrint.3: ATTRIBUTES: Note functions that are thread-safe
The functions lrint(), lrintf(), lrintl(), llrint(), llrintf(),
and llrintl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-22 09:26:21 +02:00
Peng Haitao 0105e3716b lseek64.3: ATTRIBUTES: Note function that is thread-safe
The function lseek64() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-22 09:25:41 +02:00
Peng Haitao 742e368202 ldexp.3: ATTRIBUTES: Note functions that are thread-safe
The functions ldexp(), ldexpf() and ldexpl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-22 09:25:20 +02:00
Michael Kerrisk fa182455ed clock.3: clock() switched from using times(2) to clock_gettime() in glibc 2.18
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-19 12:46:30 +02:00
Peng Haitao ea00bcb35a ilogb.3: ATTRIBUTES: Note functions that are thread-safe
The functions ilogb(), ilogbf() and ilogbl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:27:56 +02:00
Peng Haitao b5a788d5f2 fpclassify.3: ATTRIBUTES: Note functions that are thread-safe
The functions fpclassify(), isfinite(), isnormal(), isnan(), and
isinf() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:27:56 +02:00
Peng Haitao 7e9ee9a4c2 frexp.3: ATTRIBUTES: Note functions that are thread-safe
The functions frexp(), frexpf() and frexpl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:27:56 +02:00
Michael Kerrisk 9ee4a2b6ec intro.1, time.1, access.2, acct.2, alloc_hugepages.2, bind.2, chdir.2, chmod.2, chown.2, chroot.2, clone.2, close.2, execve.2, fallocate.2, fcntl.2, getdents.2, getrusage.2, getxattr.2, init_module.2, inotify_add_watch.2, ioprio_set.2, kcmp.2, link.2, listxattr.2, lseek.2, madvise.2, mkdir.2, mknod.2, mmap.2, mount.2, move_pages.2, msgctl.2, nfsservctl.2, open.2, pivot_root.2, quotactl.2, read.2, readlink.2, removexattr.2, rename.2, rmdir.2, semctl.2, setfsgid.2, setfsuid.2, setresuid.2, setuid.2, setup.2, setxattr.2, shmctl.2, splice.2, spu_create.2, stat.2, statfs.2, swapon.2, symlink.2, sync.2, sync_file_range.2, sysfs.2, truncate.2, umount.2, unlink.2, unshare.2, ustat.2, utime.2, utimensat.2, write.2, btree.3, errno.3, fexecve.3, ftw.3, futimes.3, get_nprocs_conf.3, getcwd.3, getdirentries.3, getmntent.3, glob.3, mkfifo.3, mq_open.3, readdir.3, realpath.3, recno.3, remove.3, sem_open.3, shm_open.3, statvfs.3, sysconf.3, telldir.3, tmpfile.3, cciss.4, initrd.4, pts.4, sk98lin.4, vcs.4, core.5, filesystems.5, proc.5, boot.7, bootparam.7, capabilities.7, cpuset.7, credentials.7, feature_test_macros.7, fifo.7, hier.7, inotify.7, intro.7, mq_overview.7, path_resolution.7, pipe.7, sem_overview.7, shm_overview.7, spufs.7, symlink.7, unix.7, uri.7, sync.8: Global fix: s/file system/filesystem/
Notwithstanding 24d01c530c,
"filesystem" is the form used by the great majority of man pages
outside the man-pages project and in a number of other sources,
so let's go with that.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:07:57 +02:00
Michael Kerrisk d3edf78f39 wcscat.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 12:27:33 +02:00
Michael Kerrisk bd18d73457 wcsncat.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 12:27:17 +02:00
Michael Kerrisk 97e91fec41 argz_add.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 12:26:05 +02:00
Michael Kerrisk 716fe4663e stpncpy.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:53:31 +02:00
Akihiro MOTOKI f528275c21 tempnam.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:38:29 +02:00
Akihiro MOTOKI eb204b9497 popen.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:38:02 +02:00
Akihiro MOTOKI be88a268b8 wcpncpy.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:34:24 +02:00
Peng Haitao d6da57592e fmax.3: ATTRIBUTES: Note functions that are thread-safe
The functions fmax(), fmaxf() and fmaxl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:26:59 +02:00
Peng Haitao aabbba0679 fmin.3: wfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:26:24 +02:00
Peng Haitao 8300b8b8cc fmin.3: ATTRIBUTES: Note functions that are thread-safe
The functions fmin(), fminf() and fminl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:25:16 +02:00
Peng Haitao cc61061889 fma.3: ATTRIBUTES: Note functions that are thread-safe
The functions fma(), fmaf() and fmal() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:10:43 +02:00
Peng Haitao 343a2c3bda floor.3: ATTRIBUTES: Note functions that are thread-safe
The functions floor(), floorf() and floorl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-23 13:27:35 +02:00
Peng Haitao 3cdc8f5719 flockfile.3: ATTRIBUTES: Note functions that are thread-safe
The functions flockfile(), ftrylockfile() and funlockfile() are
thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-23 13:26:59 +02:00
Simon Paillard ea01d88618 argz_add.3: ffix, actually revert of 5049da5b
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 20:51:05 +02:00
Peng Haitao 5ad225a328 finite.3: Minor wording improvement
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 19:13:22 +02:00
Michael Kerrisk 4d553950e7 clog2.3: Note that these functions are still not present in glibc 2.17
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 19:07:11 +02:00
Peng Haitao 77aa3ddceb finite.3: ATTRIBUTES: Note functions that are thread-safe
The functions finite(), finitef(), finitel(), isinf(), isinff(),
isinfl(), isnan(), isnanf() and isnanl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 12:58:06 +02:00
Peng Haitao 1e88bbc083 encrypt.3: wfix phrasing
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 12:46:34 +02:00
Simon Paillard e6c6110c13 getmntent.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:35 +02:00
Simon Paillard 6a387d0ecb qecvt.3: wfix phrasing
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Simon Paillard d2dca89de0 getpwnam.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Peng Haitao 676420f26c fflush.3: ATTRIBUTES: Note function that is thread-safe
The function fflush() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Peng Haitao be9883929d fdim.3: ATTRIBUTES: Note functions that are thread-safe
The functions fdim(), fdimf() and fdiml() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Peng Haitao 0d9df44eaa fabs.3: ffix
"The fabs() functions" should be replaced with "These functions".

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Peng Haitao 594e3173f7 fabs.3: ATTRIBUTES: Note functions that are thread-safe
The functions fabs(), fabsf() and fabsl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard 945e9d50f7 strcoll.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Peng Haitao a877cf9226 div.3: ATTRIBUTES: Note functions that are thread-safe
The functions div(), ldiv(), lldiv() and imaxdiv() are thread
safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-09 02:24:30 +02:00
Peng Haitao 70d8c4cbcf dirfd.3: ATTRIBUTES: Note function that is thread-safe
The function dirfd() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-09 02:23:37 +02:00
Michael Kerrisk 51700fd719 Removed trailing white space at end of lines 2013-07-04 12:53:51 +02:00
Michael Kerrisk ac9167ae16 execve.2, aio_error.3, aio_return.3, clock_getcpuclockid.3, ctermid.3, ecvt.3, ether_aton.3, rexec.3, signbit.3, timegm.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-04 10:36:51 +02:00
Peng Haitao 543840ca7b signbit.3: ATTRIBUTES: Note macro that is thread-safe
The macro signbit() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-03 12:02:57 +02:00
Peng Haitao 0a82339877 clock_getcpuclockid.3: ATTRIBUTES: Note function that is thread-safe
The function clock_getcpuclockid() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-03 12:02:48 +02:00
Michael Kerrisk 58c7d0c279 strftime.3: BUGS: 'errno' is not set if the result string would exceed 'max' bytes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-28 04:24:10 +02:00
Michael Kerrisk 511b30188b strftime.3: Clarify details of return value
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-28 04:19:55 +02:00
Michael Kerrisk 6f78750b5e strftime.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-28 03:58:37 +02:00
Michael Kerrisk 1788df41b3 strftime.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-28 03:56:24 +02:00
Peng Haitao 0b0a32b833 aio_return.3: ATTRIBUTES: Note function that is thread-safe
The function aio_return() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 00:34:10 +02:00
Peng Haitao 34a8bc858e aio_error.3: ATTRIBUTES: Note function that is thread-safe
The function aio_error() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 00:34:02 +02:00
Peng Haitao d768f1d966 ctermid.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function ctermid() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 00:33:50 +02:00
Jérémie Galarneau 00a9a8997f timegm.3: copy the string returned by getenv()
The example of a portable version of timegm() uses the string
returned by getenv() after calling setenv() on the same
environment variable. The tz string may be invalid as per
getenv.3:

        "The string pointed to by the return value of getenv()
         may be statically allocated, and can be modified by a
         subsequent call to getenv(), putenv(3), setenv(3), or
         unsetenv(3)."

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 00:27:33 +02:00
Michael Kerrisk f9293d9857 io_setup.2, perf_event_open.2, readdir.2, syscall.2, a64l.3, abs.3, asprintf.3, bindresvport.3, catgets.3, ceil.3, cimag.3, conj.3, crypt.3, drand48.3, encrypt.3, ether_aton.3, fcloseall.3, ferror.3, fmtmsg.3, getdate.3, getgrent.3, getgrnam.3, getpass.3, getpwent.3, getpwnam.3, getttyent.3, getusershell.3, localeconv.3, mblen.3, mbrlen.3, mbrtowc.3, modf.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_setname_np.3, ptsname.3, qecvt.3, re_comp.3, readdir.3, rexec.3, round.3, scalbln.3, stdio_ext.3, strerror.3, tmpnam.3, trunc.3, ttyname.3, ttyslot.3, inotify.7, man-pages.7, socket.7, tcp.7, udp.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 13:35:03 +02:00
Michael Kerrisk 04aa92829d argz_add.3: ffix
Reported-by: Eric S. Raymond <esr@thyrsus.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 00:06:56 +02:00
Michael Kerrisk dcf163b97b envz_add.3: ffix
Reported-by: Eric S. Raymond <esr@thyrsus.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 00:02:24 +02:00
Eric S. Raymond 9b1c7a292f regex.3: Remove unused macro
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-20 23:59:18 +02:00
Michael Kerrisk 474446468e basename.3: Fix errors from Eric Raymond's previous commit
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-20 23:47:42 +02:00
Eric S. Raymond c6076d0e53 basename.3: Replace an ad-hoc table with a real one
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-20 23:43:32 +02:00
Peng Haitao de541d4b88 mblen.3: ATTRIBUTES: Note function that is not thread-safe
The function mblen() is not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-20 23:36:52 +02:00
Peng Haitao 5621da57fa conj.3: ATTRIBUTES: Note functions that are thread-safe
The functions conj(), conjf() and conjl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-20 23:36:52 +02:00
Peng Haitao 6d74e86185 scalbln.3: ATTRIBUTES: Note functions that are thread-safe
The functions scalbn(), scalbnf(), scalbnl(), scalbln(),
scalblnf() and scalblnl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-20 23:36:52 +02:00
Peng Haitao 18b3fa616f strerror.3: ATTRIBUTES: Note function that is not thread-safe
The function strerror() is not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao e3543fbba9 cimag.3: ATTRIBUTES: Note functions that are thread-safe
The functions cimag(), cimagf() and cimagl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao 907036968e modf.3: ATTRIBUTES: Note functions that are thread-safe
The functions modf(), modff() and modfl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao d265b8f2fc trunc.3: ATTRIBUTES: Note functions that are thread-safe
The functions trunc(), truncf() and truncl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao ed21d74901 ceil.3, round.3: ATTRIBUTES: tfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao 7836c64d88 round.3: ATTRIBUTES: Note functions that are thread-safe
The functions round(), roundf() and roundl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao ea32445bea ceil.3: ATTRIBUTES: Note functions that are thread-safe
The functions ceil(), ceilf() and ceill() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao 1ad7b08940 mbrtowc.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function mbrtowc() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:34:44 +02:00
Peng Haitao 3220895675 strtok.3: ATTRIBUTES: Note function that is not thread-safe
The function strtok() is not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Peng Haitao b6c6e0a33d abs.3: ATTRIBUTES: Note functions that are thread-safe
The functions abs(), labs(), llabs() and imaxabs() are
thread-safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Michael Kerrisk 8ee22ae82c ferror.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Peng Haitao 82e25934ab ferror.3: ATTRIBUTES: Note functions that are thread-safe
The functions ferror(), clearerr(), feof() and fileno() are
thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Peng Haitao 70f5f10ecb tmpnam.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function tmpnam() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Michael Kerrisk 7ec74538de mbrlen.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Peng Haitao 6c2ec40d25 mbrlen.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function mbrlen() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Peng Haitao 7c51f0e341 getusershell.3: ATTRIBUTES: Note functions that are not thread-safe
The functions getusershell(), setusershell() and endusershell()
are not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao 6a92c34cff ether_aton.3: ATTRIBUTES: Note functions that are not thread-safe
The functions ether_aton() and ether_ntoa() are not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Michael Kerrisk 3f69da2862 getgrent.3, getlogin.3, getpwent.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Michael Kerrisk b6cab55bd6 a64l.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao 1454246e94 getlogin.3: ATTRIBUTES: Note function that is not thread-safe
The function getlogin() is not thread safe.
The function cuserid() is thread-safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao d506211293 rexec.3: ATTRIBUTES: Note functions that are not thread-safe
The functions rexec() and rexec_af() are not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao cbdd5ebe6e stdio_ext.3: ATTRIBUTES: Note functions that are not thread-safe
The functions __fbufsize(), __fpending(), __fpurge() and
__fsetlocking() are not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao dc01ee8742 re_comp.3: ATTRIBUTES: Note functions that are not thread-safe
The functions re_comp() and re_exec() are not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Michael Kerrisk 974afcfe41 drand48.3: Minor rewording
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao ba3680650c drand48.3: ATTRIBUTES: Note functions that are not thread-safe
The functions drand48(), erand48(), lrand48(), nrand48(),
mrand48(), jrand48(), srand48(), seed48() and lcong48() are
not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao 20d546abd5 a64l.3: ATTRIBUTES: Note function that is not thread-safe
The function l64a() is not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:25 +02:00
Peng Haitao 9ed071a41b bindresvport.3: ATTRIBUTES: Note function that is thread-safe
Before glibc 2.17, bindresvport() is not thread-safe.
Since glibc 2.17, it is thread-safe, the patch can refer to URL:
http://sourceware.org/git/?p=glibc.git;a=commit;h=f6da27e53695ad1cc0e2a9490358decbbfdff5e5

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao 93a8236f6e fmtmsg.3: ATTRIBUTES: Note function that is thread-safe
Before glibc 2.16, fmtmsg() is not thread-safe.
Since glibc 2.16, it is thread-safe, the patch can refer to URL:
http://sourceware.org/git/?p=glibc.git;a=commit;h=7724defcf8873116fe4efab256596861eef21a94

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao 7231e4c37a getgrent.3: ATTRIBUTES: Note function that is not thread-safe
The function getgrent() is not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao 8bce342494 getpwent.3: ATTRIBUTES: Note function that is not thread-safe
The function getpwent() is not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao dee90154c7 crypt.3: ATTRIBUTES: Note function that is not thread-safe
The function crypt() is not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao 4fc2f6479b encrypt.3: ATTRIBUTES: Note functions that are not thread-safe
The functions encrypt() and setkey() are not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao 1d94efa5ad ptsname.3: ATTRIBUTES: Note function that is not thread-safe
The function ptsname() is not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao f4d7c22be6 fcloseall.3: ATTRIBUTES: Note function that is not thread-safe
The function fcloseall() is not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao e92d82ff95 hsearch.3: ATTRIBUTES: Note functions that are not thread-safe
The functions hsearch(), hcreate() and hdestroy() are not
thread-safe.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:24 +02:00
Peng Haitao 8744c6c21d qecvt.3: ATTRIBUTES: Note functions that are not thread-safe
The functions qecvt() and qfcvt() are not thread-safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Michael Kerrisk be05dcc7d5 ttyslot.3: ATTRIBUTES: Note functions that are not thread-safe
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:24 +02:00
Peng Haitao 8c3a681ece getttyent.3: ATTRIBUTES: Note functions that are not thread-safe
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:24 +02:00
Peng Haitao 3f970b116b getpass.3: ATTRIBUTES: Note functions that are not thread-safe
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:24 +02:00
Peng Haitao 0a5e5cd8d4 getdate.3: ATTRIBUTES: Note functions that are and aren't thread-safe
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:24 +02:00
Michael Kerrisk a392de7a26 ttyname.3: ATTRIBUTES: Note functions that are and aren't thread-safe
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:24 +02:00
Peng Haitao 8c3438a601 getgrnam.3: ATTRIBUTES: Note functions that are and aren't thread-safe
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:24 +02:00
Peng Haitao 404197c753 getpwnam.3: ATTRIBUTES: Note functions that are and aren't thread-safe
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:24 +02:00
Peng Haitao ebf472588b localeconv.3: Add RETURN VALUE section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:24 +02:00
Peng Haitao 83417e6917 readdir.3: ATTRIBUTES: Note functions that are not thread-safe
The data returned by readdir() may be overwritten by subsequent
calls to readdir() for the same directory stream, so it is not
thread-safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:24 +02:00
Peng Haitao 5265a3da3e localeconv.3: ATTRIBUTES: Note functions that are not thread-safe
The function localeconv() returns a pointer to a structure which
might be overwritten by subsequent calls to localeconv() or by
calls to setlocale(), so it is not thread-safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:29:42 +02:00
Peng Haitao ff6bff8a99 ecvt.3: ATTRIBUTES: Note functions that are not thread-safe
The functions ecvt() and fcvt() return a string located in a
static buffer which is overwritten by the next call to the
functions, so they are not thread-safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:29:42 +02:00
Eric S. Raymond d82911be93 siginterrupt.3: tfix missing dot 2013-06-17 15:47:28 +02:00
Eric S. Raymond f1a1039a10 getpass.3: Fix some rather garbled list syntax
An .nf/.fi crossed scopes with a .TP, and the .TP had a header but
no body.  (The latter, while technically not broken in troff, is
bad usage and confuses attempts to parse the page.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk e4a0d6cb39 stpcpy.3, stpncpy.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wctob.3, wcwidth.3, wprintf.3: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 5049da5bef arch_prctl.2, getpeername.2, getrlimit.2, ioctl_list.2, mmap2.2, mremap.2, sched_setaffinity.2, setup.2, shmop.2, argz_add.3, exec.3, fenv.3, fmtmsg.3, gethostbyname.3, posix_memalign.3, printf.3, scanf.3, sigpause.3, wordexp.3, xdr.3, st.4, tty_ioctl.4: Formatting fix: prevent '*' in declaration or cast wrapping to next line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 46d8df8ea4 strcasecmp.3, strcat.3, strchr.3, strcmp.3, strcoll.3, strcpy.3, strdup.3, strfry.3, strftime.3, strlen.3, strnlen.3, strpbrk.3, strsep.3, strsignal.3, strspn.3, strstr.3, strtok.3, strtol.3, strtoul.3, strxfrm.3: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 022671eb41 acos.3, acosh.3, asin.3, asinh.3, atan.3, atanh.3, cbrt.3, ceil.3, copysign.3, cos.3, cosh.3, cproj.3, erf.3, exp.3, exp2.3, expm1.3, fabs.3, floor.3, fmod.3, frexp.3, isgreater.3, j0.3, lgamma.3, log.3, log10.3, log1p.3, log2.3, modf.3, nextafter.3, pow.3, rint.3, round.3, scalb.3, scalbln.3, sin.3, sinh.3, sqrt.3, tan.3, tanh.3, tgamma.3, trunc.3: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk c994238936 ioctl_list.2, sched_yield.2, vm86.2, backtrace.3, catopen.3, daemon.3, dl_iterate_phdr.3, fnmatch.3, getfsent.3, glob.3, grantpt.3, infnan.3, putgrent.3, setaliasent.3, shm_open.3, stdin.3, ttyS.4: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 40aa0db03c mbrtowc.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, wcscasecmp.3, wcscat.3, wcscpy.3, wcsdup.3, wcslen.3, wcsncasecmp.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wcsstr.3, wcstok.3, wcstombs.3, wcswidth.3: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:46 +02:00
Michael Kerrisk 287bfbdb52 wmemcmp.3, issue.5, motd.5: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 509e20562d msync.2, getusershell.3, full.4, pts.4: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk c6fa0841a9 time.1, _syscall.2, acct.2, getsockname.2, nanosleep.2, pciconfig_read.2, sched_get_priority_max.2, umask.2, uname.2, ustat.2, INFINITY.3, argz_add.3, atexit.3, bsearch.3, byteorder.3, carg.3, closedir.3, dlopen.3, drand48.3, envz_add.3, errno.3, ether_aton.3, exp10.3, finite.3, flockfile.3, fseeko.3, getcontext.3, getmntent.3, getnetent.3, getprotoent.3, getrpcent.3, getservent.3, iconv_close.3, iconv_open.3, initgroups.3, login.3, longjmp.3, mbsinit.3, memccpy.3, memmem.3, mempcpy.3, offsetof.3, on_exit.3, pow10.3, pthread_cancel.3, pthread_cleanup_push.3, rpc.3, rpmatch.3, setenv.3, setjmp.3, setlogmask.3, sockatmark.3, strfmon.3, strptime.3, strverscmp.3, swab.3, tcgetpgrp.3, tmpfile.3, toascii.3, y0.3, null.4, tty.4, tty_ioctl.4, hosts.equiv.5, environ.7, path_resolution.7, tzselect.8: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 35cfd37865 getwchar.3, infnan.3, iswalnum.3, iswalpha.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, lsearch.3, mblen.3, mbrlen.3, memmove.3, memset.3, putwchar.3, rewinddir.3, towctrans.3, towlower.3, towupper.3, ungetwc.3, wcschr.3, wcscmp.3, wcscspn.3, wcspbrk.3, wcsrchr.3, wcsspn.3, wctomb.3, wctrans.3, wmemchr.3, wmemcmp.3, wmemcpy.3, wmemmove.3, wmemset.3, console.4, hd.4, lp.4, mem.4, mouse.4, ram.4, sync.8: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 7fc50d4aca wcsnrtombs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk 7066ef44b8 getopt.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk a2ce40b6ff rpc.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk d5a7e77e1d xdr.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk ef800a1862 strxfrm.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk 7f8e1b170b error.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk 3cdbcd0eda strcoll.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk d58522c0bd pthread_create.3: tfix
Reported-by: Anthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:20 +02:00
Michael Kerrisk 89b85ead22 strtok.3: tfix
Reported-by: Georg Sauthoff <mail@georg.so>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:09 +02:00
Michael Kerrisk ff452e0d6d strtok.3: Add more detail on the operation of strtok()
Add a number of missing details on the operation of strtok()

Reported-by: Georg Sauthoff <mail@georg.so>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 22:45:32 +02:00
Adrian Bunk 4906c99219 alloca.3: Correct information on getting non-inlined version with gcc+glibc
- remove the incorrect information that -fno-builtin would help
- add -std=c11 to the list of strict options
- emphasize more that both the gcc option and not including
  alloca.h are needed
- add the #ifdef from the glibc alloca.h to make the situation clearer

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 20:03:42 +02:00
Michael Kerrisk 1aff58045d catgets.3, inotify.7: Clarify that null byte is '\0'
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:06 +02:00
Michael Kerrisk f24e3a3ad9 readdir.2, asprintf.3, getline.3, getlogin.3, pthread_setname_np.3, readdir.3, strerror.3: Clarify that terminating null byte is '\0'
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:06 +02:00
Michael Kerrisk 6ac8bf78eb wprintf.3: Minor clarification of null wide character and null byte
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:06 +02:00
Michael Kerrisk 82e07898dd sysconf.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:06 +02:00
Michael Kerrisk 0a5d2e219f scanf.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:06 +02:00
Michael Kerrisk 7f2eb69df3 strnlen.3: tfix
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-18 20:56:42 +02:00
Michael Kerrisk 6aa5dcf494 canonicalize_file_name.3: Put CONFORMING TO section in right location
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-11 22:21:21 +02:00
Michael Kerrisk 9ccfb10269 profil.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-30 14:26:49 +02:00
Michael Kerrisk ea22c6e908 pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3: The inherit-scheduler attribute must be set to PTHREAD_EXPLICIT_SCHED
In order for the attributes set by these functions to have
an effect, the caller must use pthread_attr_setinheritsched(3)
to set the inherit-scheduler attribute of the attributes object
to PTHREAD_EXPLICIT_SCHED.

Reported-by: Manuel Traut <manut@linutronix.de>
Reported-by: Siddhesh Poyarekar <siddhesh@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk b67b588646 pthread_attr_setinheritsched.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk 6d46d0fac1 pthread_attr_setscope.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk c59c89b307 pthread_attr_setinheritsched.3: Note the scheduling attributes affected by this function
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk 572acb41c4 wcsdup.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk 665637d482 usleep.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk 52e5837550 tempnam.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk 6a7883104f strdup.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk 72cc8811ba sigsetops.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk 433356dcd1 siginterrupt.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk fd88c684f8 scandir.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk a824712b8a random_r.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk e6183193f2 random.3: BUGS: inistate() does not return NULL on error
http://sourceware.org/bugzilla/show_bug.cgi?id=15380

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk d2fdbe9c99 random.3: Add EINVAL error for setstate()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk 6d1a3ba67c random.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk 459f2580cc putpwent.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk fbe1845c28 putenv.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk 8ac7223100 popen.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk c03c3dd4b7 mktemp.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk 921dd685b5 malloc_info.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk b4b02cc406 hsearch.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk b3adaa6852 getutent.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk c433dca4a7 getspnam.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk c0ebcc7abd getlogin.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk 1790ea4423 getline.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk 1726c2f934 fputwc.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk dbf5168386 fgetwc.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:00 +02:00
Michael Kerrisk 26f5e1b958 fgetpwent.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:18:59 +02:00
Michael Kerrisk 3600608b88 fgetgrent.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:18:59 +02:00
Michael Kerrisk 7f1c12c551 dirfd.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:18:59 +02:00
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