Commit Graph

1232 Commits

Author SHA1 Message Date
Michael Kerrisk 10d76543fe Modify the license on these pages to be the standard verbatim license. 2008-03-18 14:47:54 +00:00
Michael Kerrisk 366a09d51b Remove out-of-date FIXME. 2008-03-18 12:08:43 +00:00
Michael Kerrisk c35a0a7c7c Link to futimes.3 2008-03-18 10:13:18 +00:00
Michael Kerrisk 4cc127252b Add documentation of lutimes(), which appeared in glibc 2.6.
Change description in NAME line ("or" is not correct: these calls
always change *both* timestamps).
futimes() did not come from 4.2BSD.  (It came from FreeBSD; see
the FreeBSD man page.)
2008-03-18 10:12:49 +00:00
Michael Kerrisk 063a2574dc tfix 2008-03-18 07:44:01 +00:00
Michael Kerrisk f32682858b setenv() copies 'name' and 'value' (contrat with putenv()).
unsetenv() of a nonexistent variable does nothing and is considered successful.
Noted that setenv() and unsetenv() need not be reentrant.
2008-03-17 12:06:58 +00:00
Michael Kerrisk 9f6d3345d8 Noted that caller must not modify returned value string.
Noted that getenv() is not reentrant: the buffer may be statically
allocated and overwritten by later calls to getenv(), putenv(),
setenv(), or unsettenv().
Other minor rewrites.
2008-03-17 11:26:22 +00:00
Michael Kerrisk 1ac25a1e51 initstate_r(3), setkey_r(3), setstate_r(3) are no documented. 2008-03-17 10:47:53 +00:00
Michael Kerrisk 3144df47b1 Links to encrypt.3 2008-03-17 10:38:08 +00:00
Michael Kerrisk 61f409e054 Links to finite.3. 2008-03-17 10:36:00 +00:00
Michael Kerrisk 43114cc80e Links to tzset.3 2008-03-17 10:34:05 +00:00
Michael Kerrisk ab8c3c1133 Links to random_r.3 2008-03-17 10:32:04 +00:00
Michael Kerrisk 57db674d92 Add optarg, optind, opterr, optopt to NAME section. 2008-03-17 10:21:24 +00:00
Michael Kerrisk a039244f40 Add h_errno to NAME list. 2008-03-17 10:14:15 +00:00
Michael Kerrisk 7deb3c8b57 Added FIXME. 2008-03-14 13:24:35 +00:00
Michael Kerrisk e29d4bed59 spfix 2008-03-11 12:39:31 +00:00
Michael Kerrisk e935e108ac Replace (il)legal by "permitted" or "valid" 2008-03-10 10:04:03 +00:00
Michael Kerrisk 87d17de470 Note that <fcntl.h> is needed for O_* constants and <sys/stat.h> is
needed for 'mode' constants.
2008-03-10 09:49:26 +00:00
Michael Kerrisk fce1dd17c8 Add text to SYNOPSIS noting the need to link with "-lrt" or "-pthread". 2008-03-10 08:29:29 +00:00
Michael Kerrisk ceb141cf58 Documents random_r(3), srandom_r(3), initstate_r(32), and setstate_r(3),
which are the reentrant equivalents of random(3), srandom(3),
initstate(32), and setstate(3).
2008-03-05 13:37:03 +00:00
Michael Kerrisk 4903137bae ffix 2008-03-05 11:30:11 +00:00
Michael Kerrisk 5b475602ef Recommend use or random_r(3) for multithreaded appliucations that need
independent, reproducible sequences of random numbers.
Move references to "The Art of Computer Programming" and "Numerical Recipes",
formerly in rand(3), to this page.
Add drand48(93) to SEE ALSO list.
2008-03-03 16:51:35 +00:00
Michael Kerrisk a5ed744769 Remove outdated warning in NOTES; encourage the use of random(3) instead. 2008-03-03 16:47:45 +00:00
Michael Kerrisk 5a060baecc Update .TH timestamp 2008-03-03 13:20:49 +00:00
Michael Kerrisk 21c1d4034e s/stdlib.h/fcntl.h/ in SYNOPSIS. 2008-02-28 11:57:05 +00:00
Michael Kerrisk 865c9fd869 Refinements to last change. 2008-02-26 09:26:25 +00:00
Michael Kerrisk 0af804ac5e clarify discussion of NULL 'hints' argument; other minor rewrites. 2008-02-26 08:27:51 +00:00
Michael Kerrisk 202bf2c868 tfix 2008-02-26 07:30:27 +00:00
Michael Kerrisk 005c213f71 Links to eventfd.2 2008-02-22 13:34:50 +00:00
Michael Kerrisk c4acc6895a Clarify description of realloc() behavior for ((size == 0) && (ptr != NULL)). 2008-02-22 10:06:08 +00:00
Michael Kerrisk 7b16ff4951 Note that POSIX requires localtime() to act as though tzset()
was called, but localtime_r() does not have the same requirement.
See also http://thread.gmane.org/gmane.comp.time.tz/2034/
2008-02-14 16:19:05 +00:00
Michael Kerrisk 0bb9038bea Further refinements of discussion of when to use/not use alloca(). 2008-01-30 10:16:44 +00:00
Michael Kerrisk f560fdd55e ffix 2008-01-30 09:41:13 +00:00
Michael Kerrisk dbb8ac51fb ffix 2008-01-27 12:08:05 +00:00
Michael Kerrisk 7d733a8598 Change description in NAME section. 2008-01-24 08:27:15 +00:00
Michael Kerrisk 6c3be22150 Various rewrites and additions (including notes on longjmp() and SIGSEGV).
Weaken warning against use of alloca(), as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461100.
2008-01-24 08:25:10 +00:00
Michael Kerrisk da8cb51e61 Fix unbalanced quotes in formatting macros. 2008-01-12 08:57:58 +00:00
Michael Kerrisk c8ce4bc62e ffix 2008-01-12 08:26:48 +00:00
Michael Kerrisk 633af52dca ffix 2008-01-12 08:26:19 +00:00
Michael Kerrisk bd0914f3fc tfix 2008-01-12 08:21:10 +00:00
Michael Kerrisk 9f8eecdba7 ffix 2008-01-12 08:19:18 +00:00
Michael Kerrisk 57cfb7f31f ffix 2008-01-12 08:11:52 +00:00
Michael Kerrisk 920c990a53 tfix 2008-01-12 08:04:47 +00:00
Michael Kerrisk a45ebabfc5 Rework/remove use of ".ad" macros. 2008-01-11 13:59:47 +00:00
Michael Kerrisk 76d8cd3612 s/i-node/inode/ 2008-01-09 09:47:31 +00:00
Michael Kerrisk 53255c2be2 Add "#define _XOPEN_SOURCE" to example program. 2008-01-06 10:10:53 +00:00
Michael Kerrisk 9e922de6e4 tfix 2008-01-04 04:30:50 +00:00
Michael Kerrisk 11d4a2cfc0 ffix 2008-01-04 04:22:28 +00:00
Michael Kerrisk ca92ce95a3 Remove/replace extraneous .sp macros. 2008-01-01 14:13:55 +00:00
Michael Kerrisk 984886049d Remove exstraneous .sp macros. 2008-01-01 13:44:49 +00:00
Michael Kerrisk 2b53dd031e Remove extraneous .br macro before/after .SH/.SS. 2008-01-01 13:38:33 +00:00
Michael Kerrisk 78729a5d61 ffixes 2008-01-01 07:52:35 +00:00
Michael Kerrisk eaf3ef8a2e spfix 2008-01-01 07:47:49 +00:00
Michael Kerrisk eaa88fd869 tfix 2008-01-01 07:47:27 +00:00
Michael Kerrisk a49d636c06 Removed trailing white space at end of lines 2007-12-30 16:01:21 +00:00
Michael Kerrisk 9a06b299bb Convert function declarations to use modern C prototypes.
Add text and start of page describing header files
and types required by functions.
Reformat discussion of request under clnt_control().
2007-12-30 15:55:22 +00:00
Michael Kerrisk e7c7da90d4 Add .\" comment describing recent changes 2007-12-30 15:41:59 +00:00
Michael Kerrisk 4989f80d27 Removed trailing white space at end of lines 2007-12-30 09:18:45 +00:00
Michael Kerrisk 5b20a7a28a Convert function declarations to use modern C prototypes. 2007-12-30 08:51:24 +00:00
Michael Kerrisk 24101960a7 ffixes 2007-12-30 06:09:59 +00:00
Michael Kerrisk 0cbdb2b376 Remove unneeded formatting macros 2007-12-30 06:01:50 +00:00
Michael Kerrisk ce0577625d ffix 2007-12-30 05:52:41 +00:00
Michael Kerrisk bf3376354d ffix 2007-12-30 05:48:25 +00:00
Michael Kerrisk 9584332da4 ffix 2007-12-30 05:42:10 +00:00
Michael Kerrisk 7efe3e53c0 Remove unneeded macro 2007-12-29 18:08:56 +00:00
Michael Kerrisk 649ef05749 ffix 2007-12-29 18:07:02 +00:00
Michael Kerrisk 3c5e62b618 Fix a/an usage 2007-12-29 18:01:05 +00:00
Michael Kerrisk 1ffaf53de1 ffix 2007-12-29 17:43:22 +00:00
Michael Kerrisk 763f0e477c Fix usage of a/an before following vowel/consonant. 2007-12-29 17:42:38 +00:00
Michael Kerrisk 85467cb847 ffixes, grfixex 2007-12-29 06:47:34 +00:00
Michael Kerrisk 0a3c745fcb tfix 2007-12-28 13:12:12 +00:00
Michael Kerrisk 494fc522de ffix 2007-12-28 06:48:39 +00:00
Michael Kerrisk ad97b91008 ffix 2007-12-28 05:59:40 +00:00
Michael Kerrisk 415aed528e ffix 2007-12-28 05:59:35 +00:00
Michael Kerrisk df3e4d6dc8 hyphenation fixes. 2007-12-28 05:45:42 +00:00
Michael Kerrisk 5ec6046150 Improve macros used in 2.71 to convert from "mdoc" to "man". 2007-12-28 05:38:10 +00:00
Michael Kerrisk 7afcdaa1a1 tfix 2007-12-28 04:49:49 +00:00
Michael Kerrisk ad2f1d0b95 tfix 2007-12-28 04:45:59 +00:00
Michael Kerrisk 290cfd36a9 tfix 2007-12-28 04:37:30 +00:00
Michael Kerrisk a1ffe9f5a2 s/current process/calling process/ 2007-12-27 16:06:35 +00:00
Michael Kerrisk a43eed0cdc Hyphenation fixes 2007-12-26 11:17:23 +00:00
Michael Kerrisk 2706f299e5 Hyphenation fixes 2007-12-26 08:00:10 +00:00
Michael Kerrisk c382a36592 hyphenation fixes 2007-12-25 22:02:19 +00:00
Michael Kerrisk 8382f16db1 grfix 2007-12-25 21:28:09 +00:00
Michael Kerrisk 58783e28ae grfix 2007-12-25 21:13:26 +00:00
Michael Kerrisk cf634cefa0 Minor edits to Eexample program. 2007-12-25 16:24:14 +00:00
Michael Kerrisk e77234bbf7 Minor changes to example program. 2007-12-25 16:21:21 +00:00
Michael Kerrisk a6bbb226e5 ffix 2007-12-25 16:19:39 +00:00
Michael Kerrisk 47752f332c s/fildes/fd/ 2007-12-24 22:04:47 +00:00
Michael Kerrisk 34ccb744ec s/x86/i386/ 2007-12-24 17:31:35 +00:00
Michael Kerrisk c5a3b1273e tfix 2007-12-24 17:09:50 +00:00
Michael Kerrisk 3737016473 ffix 2007-12-24 16:21:35 +00:00
Michael Kerrisk d2d293bac2 Remove use of .SM macros. 2007-12-24 16:10:29 +00:00
Michael Kerrisk 3f28250188 ffix 2007-12-24 15:08:20 +00:00
Michael Kerrisk bce5f0ae86 Use proper .IP lists 2007-12-24 15:04:43 +00:00
Michael Kerrisk e5669e8181 Small rewording. 2007-12-24 14:47:01 +00:00
Michael Kerrisk 658670dea2 ffix 2007-12-24 14:41:56 +00:00
Michael Kerrisk d830deef33 ffix 2007-12-24 14:31:08 +00:00
Michael Kerrisk 3b8affded2 Various reformattings. 2007-12-24 14:29:31 +00:00
Michael Kerrisk d6971ffd60 These functions are still not present as at glibc 2.7. 2007-12-24 14:26:47 +00:00