Commit Graph

4179 Commits

Author SHA1 Message Date
Michael Kerrisk cadbf54b10 flockfile.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:12 +01:00
Michael Kerrisk a3a5767332 finite.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:12 +01:00
Michael Kerrisk 067fb97fbb ffs.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:12 +01:00
Michael Kerrisk 0b8af3fafe fflush.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:12 +01:00
Michael Kerrisk 0952a69ad8 ferror.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:12 +01:00
Michael Kerrisk 9a81a87466 fdim.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:12 +01:00
Michael Kerrisk 548c91cd2b fcloseall.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:12 +01:00
Michael Kerrisk 6904b640d9 fabs.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk f0908802fa expm1.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk 2a2948ab34 exit.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk ef5bbec543 euidaccess.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Peng Haitao 7604834d79 wcsstr.3: Reformat thread-safety information
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Peng Haitao 5a295fbe70 wcstoimax.3: Reformat thread-safety information
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Peng Haitao 54b8b922b7 wcstok.3: Reformat thread-safety information
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Peng Haitao 187b7c22d1 wcswidth.3: Reformat thread-safety information
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Peng Haitao bcd70a8784 wctomb.3: Reformat thread-safety information
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Peng Haitao 36419e2a59 wctrans.3: Reformat thread-safety information
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Peng Haitao edf623574d wctype.3: Reformat thread-safety information
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Peng Haitao d3f9c01072 wcwidth.3: Reformat thread-safety information
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Peng Haitao 09c4d4dd5f des_crypt.3: tfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk 825ad4a025 erfc.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk 18e26c0f19 erf.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk 38688339b9 encrypt.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk e63161a41c ecvt.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Peng Haitao 8e7f66f6e2 wmemchr.3: Reformat thread-safety information
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Peng Haitao 2aba859bfc wmemcmp.3: Reformat thread-safety information
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk 888246172f dysize.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk ffaf491617 drand48_r.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk 9f4ed48ec7 div.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk b21d33aee8 dirfd.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk 22c9b12c73 difftime.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk 8907b78ee3 des_crypt.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk dce3395bfc daemon.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:11 +01:00
Michael Kerrisk aca8edbfc0 crypt.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk d5b7e51434 creal.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 3f1fe43921 cproj.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 5926b7f99f cos.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 284a29a188 copysign.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk b8a7dd74cb conj.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 55ed4bc8f0 clock_getcpuclockid.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 2724812b5a cimag.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 9b6495b4b2 ceil.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk db5117b020 cbrt.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 8531256771 catgets.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Peng Haitao a882da7f48 wmemcpy.3: Reformat thread-safety information
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Peng Haitao e1abeb95dd wmemmove.3: Reformat thread-safety information
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Peng Haitao bb46c694c4 wmemset.3: Reformat thread-safety information
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 9fd470585e byteorder.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk e933ee9025 bzero.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk e5ea1160a9 bsd_signal.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 2ff76b2c7c bcopy.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 8e6ca3c38e bcmp.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk a1eceea551 basename.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk a88fecfcf0 atan.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 3d90310b27 asinh.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk b02f43176c alloca.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 4bdf6cc97d aio_return.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 37e166e8ed aio_error.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk ebea5af99a adjtime.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk 86d2e199af atof.3: Remove crufty text
Reported-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:10 +01:00
Michael Kerrisk f385a71d08 pthread_setcancelstate.3: Add async-signal-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:09 +01:00
Michael Kerrisk dfa2186c1b pthread_setcancelstate.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:09 +01:00
Michael Kerrisk f4328c6b36 fenv.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:09 +01:00
Michael Kerrisk 485507b755 drand48.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:09 +01:00
Michael Kerrisk 1ff0c44502 bindresvport.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:09 +01:00
Michael Kerrisk 929a50b5d6 atof.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:09 +01:00
Michael Kerrisk 9baacb3908 abs.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:09 +01:00
Michael Kerrisk 74a70e340a abort.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:09 +01:00
Michael Kerrisk a73e75e298 a64l.3: Reformat thread-safety information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-27 13:57:09 +01:00
Michael Kerrisk 6d322d5fc7 time.1, access.2, arch_prctl.2, cacheflush.2, capget.2, clone.2, execve.2, fcntl.2, fork.2, getpid.2, getxattr.2, ioctl.2, ioctl_fat.2, killpg.2, listxattr.2, madvise.2, migrate_pages.2, modify_ldt.2, mprotect.2, msgget.2, msgop.2, perf_event_open.2, ptrace.2, sched_setattr.2, semget.2, semop.2, sendfile.2, set_thread_area.2, setxattr.2, stat.2, statfs.2, wait.2, wait4.2, encrypt.3, mktemp.3, pthread_attr_setschedparam.3, resolver.3, statvfs.3, syslog.3, tzset.3, core.5, host.conf.5, intro.5, proc.5, resolv.conf.5, pthreads.7, socket.7, unix.7, ld.so.8, ldconfig.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 09:26:52 +01:00
Michael Kerrisk f019cbb450 statvfs.3: statvfs() now populates 'f_flag' from statfs()'s f_flag field
These changes came with glibc 2.13, and the kernel's addition of
a 'f_flags' field in Linux 2.6.36.

Reported-by: Jan Chaloupka <jchaloup@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:15 +01:00
Michael Kerrisk 12fcbd0bfb statvfs.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:15 +01:00
Michael Kerrisk aaf116b8b7 statvfs.3: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:15 +01:00
Michael Kerrisk 5408344938 statvfs.3: Document missing 'f_flag' bit values
And reorganize information relating to which flags are in
POSIX.1.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:15 +01:00
Michael Kerrisk a7a5d641c0 statvfs.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:15 +01:00
Michael Kerrisk df7a395044 statvfs.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>

Conflicts:
	man3/statvfs.3
2015-02-21 08:32:15 +01:00
Simon Paillard 0921ce4ab0 resolver.3, host.conf.5: host.conf 'order' option deprecated, replaced by nsswitch.conf(5)
http://www.sourceware.org/bugzilla/show_bug.cgi?id=2389
b9c65d0902

Reported at http://bugs.debian.org/270368,
http://bugs.debian.org/396633, and http://bugs.debian.org/344233.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:15 +01:00
Luke Faraone fcf4536c62 mktemp.3: DESCRIPTION reference to BUGS corrected
mktemp(3)'s DESCRIPTION referenced NOTES, but no such
section exists. Corrected to refer to BUGS.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:13 +01:00
J William Piggott feb9265db8 tzset.3: ffix
Signed-off-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:12 +01:00
JWP 036ea82541 tzset.3: Add offset format
tzset.3 does not illustrate the POSIX offset format.
Specifically, there is no indication in the manual
what the optional components of it are.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:12 +01:00
Michael Kerrisk 39b23549b8 syslog.3: Remove unneeded <stdarg.h>
vsyslog() does not need this.

Reported-by: Doug Goldstein <cardoe@gentoo.org>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:11 +01:00
Michael Kerrisk ca12634681 pthread_attr_setschedparam.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:11 +01:00
Tobias Herzke 3f6dadab7b pthread_attr_setschedparam.3: Describe EINVAL in ERRORS
The following example proves that the man page
pthread_attr_setschedparam.3 is incorrect when it claims that the
pthread_attr_setschedparam function always succeeds on linux:

int main() {
   pthread_attr_t attr;
   struct sched_param p = {-1}; /* invalid priority */
   if (pthread_attr_init(&attr) == 0)
     if (pthread_attr_setschedpolicy(&attr, SCHED_OTHER) == 0)
       if (pthread_attr_setschedparam(&attr, &p) == EINVAL)
	return 1;
   return 0;
}

The program exits with exit code 1, therefore
pthread_attr_setschedparam() has returned error code EINVAL.

I could evoke this error on ubuntu 14.04, and verify it by
examining the eglibc-2.19 source code. The function is
implemented in file fbtl/pthread_attr_setschedparam.c. For
error checking, it calls the helper function
check_sched_priority_attr which is implemented inline in
file ./fbtl/pthreadP.h. This function returns EINVAL if a
range check fails.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:11 +01:00
Rob Somers ec5308ca6e encrypt.3: Improve code example
I (and some others) found that the original example code
did not seem to work as advertised.  The new code (used by
permission of the original author, Jens Thoms Toerring)
was found on comp.os.linux.development.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:11 +01:00
Michael Kerrisk 60569afd98 getnameinfo.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk c49a8e2a02 getutent.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk a288791dc7 tzset.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-02 07:37:31 +01:00
J William Piggott 09e421f1aa tzset.3: ffix
Fix tzset.3 regression, dst is optional.

$ date
Sun Feb  1 15:14:33 EST 2015
$ TZ=NZST-12 date
Mon Feb  2 08:14:38 NZST 2015
$ TZ=EST5 date
Sun Feb  1 15:15:02 EST 2015

Signed-off-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-02 07:32:59 +01:00
Michael Kerrisk 9dc53e71c2 kexec_load.2, personality.2, prctl.2, reboot.2, socket.2, fflush.3, getopt.3, random.3, termios.3, random.4, passwd.5, capabilities.7, signal.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-01 17:14:12 +01:00
Michael Kerrisk dbc45ff182 tzset.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-01 17:04:21 +01:00
J William Piggott 343d131418 tzset.3: typos and version bump
Signed-off-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-01 16:30:36 +01:00
J William Piggott 411dded247 tzset.3: There are only two TZ formats
tzset(3) currently states that there are three TZ formats. The
first two it lists are actually variations of the POSIX-style
TZ format, of which there are at least five variations.

This patch corrects this to match the POSIX specification of
TZ having only two formats.

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html

Signed-off-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-01 16:29:49 +01:00
J William Piggott a321c9154c tzset.3: Fix incorrect TZ string representation
The TZ string representation indicates that the start/end
rules are required; this is incorrect.

Updated the TZ string format to the POSIX specification and
improve its readability by having only the optional parts in
italics.

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html

Signed-off-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-01 16:28:59 +01:00
Michael Kerrisk 35d82b2596 getopt.3: SEE ALSO: add getopt(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-01 09:27:24 +01:00
Michael Kerrisk c04700fb25 termios.3: SEE ALSO: add reset(1), setterm(1), tput(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-01 09:26:38 +01:00
J William Piggott 1cec674c72 tzset.3: Add description for posixrules file
Based upon reviewing the glibc source, the posixrules file is being used
for very specific TZ strings that can be represented as:

[:]stdoffsetdst[offset][,]

If anything follows the above string, even invalid data, posixrules will
not be used. Below is some shell output demonstrating this.

$ TZ="NZST-12:00:00NZDT-13:00:00,ANYTHING" \
strace -eopen date 2>&1 | grep -Ei 'posixrules|jan'
Thu Jan 29 06:53:35 NZDT 2015

$ TZ="NZST-12:00:00NZDT-13:00:00," \
strace -eopen date 2>&1 | grep -Ei 'posixrules|jan'
open("/usr/share/zoneinfo/posixrules", O_RDONLY|O_CLOEXEC) = 3
Thu Jan 29 05:54:58 NZST 2015

Signed-off-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-29 23:19:19 +01:00
J William Piggott c1e90e15d3 tzset.3: Add ENVIRONMENT section + other rearrangements
FILES section was overly verbose and included
environment variables.  Added ENVIRONMENT section,
removing ENV VARS from the FILES section.

As stated in commit 2c7f200, /usr/share/zoneinfo/localtime
is not used, nor recommended by glibc.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-29 23:16:58 +01:00
Heinrich Schuchardt d929b8016b random.3: SEE ALSO: add getrandom(2)
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-29 09:02:40 +01:00
Michael Kerrisk 0647fa15ee strcmp.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-28 10:08:11 +01:00
Michael Kerrisk 035ecf0a03 fmemopen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-28 10:04:45 +01:00