Commit Graph

438 Commits

Author SHA1 Message Date
Michael Kerrisk cff88e99ab Consistent use of terms "open file description",
"file status flags", and "file decriptor flags"
Some rewriting of discussion of file descriptor flags
Under F_DUPFD, replaced some text duplicated in dup.2 with a cross ref to dup.2
Minor wording and formatting fixes
2005-06-22 09:53:58 +00:00
Michael Kerrisk 0a5a85eb64 Consistent use of terms "open file description",
"file status flags", and "file decriptor flags"
Removed mention of lock sharing -- it was not accurate.
Minor formatting fixes
2005-06-22 09:53:00 +00:00
Michael Kerrisk e366dbc4fb Clarification of term "open file description" along with
explanation of what information it maintains.
Various minor wording changes
2005-06-22 09:52:33 +00:00
Michael Kerrisk 5ae873ff97 Formatting changes 2005-06-22 08:16:22 +00:00
Michael Kerrisk 4b4a8feb2d Minor fixes 2005-06-22 07:19:03 +00:00
Michael Kerrisk 42eda4aea7 Minor wording changes (after email with AEB). 2005-06-22 06:52:22 +00:00
Michael Kerrisk b6a37c735b Added ERANGE error 2005-06-21 16:03:30 +00:00
Michael Kerrisk dc54d88100 Initial setup for 2.05 release 2005-06-21 15:08:47 +00:00
Michael Kerrisk 4e6bd42ce2 Initial setup for 2.05 release 2005-06-21 15:07:59 +00:00
Michael Kerrisk 2e139a8bd8 For 2.04 release 2005-06-21 14:56:41 +00:00
Michael Kerrisk 19ce063feb Getting ready for 2.04 release 2005-06-21 14:47:55 +00:00
Michael Kerrisk ccca85bec2 Further tcp_stdurg and SIOCATMARK work; minor formatting fixes 2005-06-21 14:46:08 +00:00
Michael Kerrisk 3df839779c Minor formatting fixes 2005-06-21 14:45:03 +00:00
Michael Kerrisk 7747fbdca6 Fixed descriptotion of header file reqmts in prototype, 2005-06-21 14:44:34 +00:00
Michael Kerrisk d04e1109b9 Clarified semantics of relationship between flock() locks
and open file entries and file descriptors.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291121
2005-06-21 14:43:56 +00:00
Michael Kerrisk fb654466a6 Minor changes 2005-06-21 13:50:30 +00:00
Michael Kerrisk f10e41020d Fix description of return value. 2005-06-21 13:47:59 +00:00
Michael Kerrisk 9331995aab Add log1p(3) to SEE ALSO.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=309578
2005-06-21 13:00:02 +00:00
Michael Kerrisk 961abb97af Fix typo: "_SC_2_DEV" should be "_SC_2_C_DEV" 2005-06-21 11:30:37 +00:00
Michael Kerrisk 3678235c1f When specifying resolved_path as NULL, realpath()
will (still) only allocate up to PATH_MAX bytes.
Plus other minor changes.
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=239424
2005-06-21 11:20:42 +00:00
Michael Kerrisk 1f6ceb400b O_DIRECT needs _GNU_SOURCE.
O_ASYNC works for pipes and FIFOs in Linux 2.6
Vaious minor fixes
2005-06-21 10:04:56 +00:00
Michael Kerrisk 6e657687f9 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=194842
Because RAND_MAX is equal to INT_MAX, the following expression
contained in the manpage for rand(3) is slightly incorrect.
j=1+(int) (10.0*rand()/(RAND_MAX+1.0));

The correct expression should use parentheses to group the division
before the multiplication, thus yielding:
j=1+(int) (10.0*(rand()/(RAND_MAX+1.0)));

This is not an error where 10.0 is a floating point number, however
where 10.0 is replaced with an integer, this will cause the expression
to always evaluate to 1. (The addition of two parentheses would make
this bug a lot more difficult to make.)
2005-06-21 09:22:02 +00:00
Michael Kerrisk 3876c0e522 See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=118752 2005-06-21 08:55:14 +00:00
Michael Kerrisk c9d79ca817 Minor formatting change 2005-06-21 08:32:40 +00:00
Michael Kerrisk b5aed92e0d Minor changes 2005-06-21 08:30:41 +00:00
Michael Kerrisk 6f80235904 More tcp_stdurg and SIOCATMARK work 2005-06-20 14:45:09 +00:00
Michael Kerrisk dd61d68cc4 Since Linux 2.6, the ru_nvcsw and ru_nivcsw fields are used. 2005-06-20 08:58:09 +00:00
Michael Kerrisk 1b05fb00b3 Changed (char *) to (void *) in example.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313607
2005-06-17 13:34:00 +00:00
Michael Kerrisk 475f1bca2c Arg for %p is a pointer to _a pointer to_ void.
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=263109
2005-06-17 13:06:58 +00:00
Michael Kerrisk 019934ed21 BUGS: In kernels < 2.6.9, EPOLL_CTL_DEL required a non-NULL
'event', even though this argument is ignored.
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=306517.
2005-06-17 11:33:07 +00:00
Michael Kerrisk 6a4c2e3618 freopen(3) can change file descriptor associations of stin/stdout/stderr 2005-06-16 16:10:05 +00:00
Michael Kerrisk b99cf1e0e8 strerror_r(3) requires #define _XOPEN_SOURCE 600 2005-06-16 16:09:25 +00:00
Michael Kerrisk 2a01941630 Rewrote description of return value.
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=296183
2005-06-16 15:07:57 +00:00
Michael Kerrisk 4f90a5f34e Removed erroneous description of makecontext() return value.
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=311800
2005-06-16 14:37:57 +00:00
Michael Kerrisk adb036712f removed fixed FIXMEs 2005-06-16 10:35:03 +00:00
Michael Kerrisk 4a3f7c5fbc formatting 2005-06-16 10:32:30 +00:00
Michael Kerrisk 95d29ab2c8 More SIOCATMARK cahnges. 2005-06-16 10:23:59 +00:00
Michael Kerrisk 8729177b44 global edit s/ -1/ \\-1/g 2005-06-15 14:10:23 +00:00
Michael Kerrisk f59a3f1941 Global edit: s/nonzero/non-zero/ 2005-06-15 13:32:34 +00:00
Michael Kerrisk 7ecc26f664 Various wording and foratting fixes 2005-06-15 13:26:36 +00:00
Michael Kerrisk 5c45d5f543 Various wording and formatting fixes.
Incorporated some new /proc/sys/net/ipv4/tcp_* file descriptions
from the 2.6.12 source file Documentation/networking/ip-sysctl.txt.
2005-06-15 12:56:21 +00:00
Michael Kerrisk 81c6dd6c54 Added pointer to ip(7) and proc(7) for /proc/sys/net 2005-06-15 12:07:30 +00:00
Michael Kerrisk 2e0eee5451 RLIMIT_RSS only has affect "in 2.4.x", not "in 2.4 and later". 2005-06-15 11:35:49 +00:00
Michael Kerrisk 096a9c0199 Added FIXME for mqueue files 2005-06-15 08:30:11 +00:00
Michael Kerrisk fd1835be9c Fixes in discussion of SIOCATMARK + general wording and formatting
clean-ups.
2005-06-14 15:24:55 +00:00
Michael Kerrisk 54221c6a41 Various minor changes 2005-06-14 11:25:12 +00:00
Michael Kerrisk 027df6e02d Wording improvements 2005-06-14 11:22:23 +00:00
Michael Kerrisk 5af3e8eeee Wording improvements 2005-06-14 11:22:06 +00:00
Michael Kerrisk 7b57506d6d Various minor changes 2005-06-14 11:20:57 +00:00
Michael Kerrisk fd064f40a4 Small wording fix. 2005-06-13 09:51:27 +00:00