Commit Graph

64 Commits

Author SHA1 Message Date
Michael Kerrisk c4bb193f3c s/parameter/argument/ when talking about the things given
to a function call, for consistency with majority usage.
2008-07-10 20:53:08 +00:00
Michael Kerrisk 61792fc66b ffix 2008-09-18 12:30:41 +00:00
Michael Kerrisk 6f36deb49c s/realtime/real-time/ 2008-03-19 13:23:34 +00:00
Michael Kerrisk eba722884d s/nonzero/non-zero/ 2008-03-19 13:16:39 +00:00
Michael Kerrisk fcbe9025d0 grfix 2008-03-19 08:53:45 +00:00
Michael Kerrisk 24d6938351 Small rewording of discussion of O_ASYNC. 2007-12-26 11:31:06 +00:00
Michael Kerrisk c382a36592 hyphenation fixes 2007-12-25 22:02:19 +00:00
Michael Kerrisk e2badfdf26 Hyphenation fixes 2007-12-25 20:50:22 +00:00
Michael Kerrisk 5895e7eb8d wspace in SYNOPSIS 2007-12-23 13:45:24 +00:00
Michael Kerrisk a08ea57c20 Make the standard indent for code samples, shell session
logs, etc. to be ".in +4n".
2007-12-19 05:53:30 +00:00
Michael Kerrisk 3d07eed115 Added section number to page xref. 2007-11-16 06:45:58 +00:00
Michael Kerrisk 0daa9e92d0 Fix redundant formatting macros 2007-09-20 16:26:31 +00:00
Michael Kerrisk c11b1abf2e Change mtk's email address 2007-09-20 06:52:22 +00:00
Michael Kerrisk 748a6c2b4f tfix 2007-09-18 18:51:51 +00:00
Michael Kerrisk 635e8d5a19 Removed trailing white space at end of lines 2007-09-10 04:17:16 +00:00
Michael Kerrisk 57c3a13b09 Small wording tweaks for SO_RCVTIME/SO_SNDTIMEO 2007-08-28 03:19:01 +00:00
Michael Kerrisk 6486ef0578 Clarify that SO_SNDTIMEO and SO_RCVTIMEO only have effect for
socket I/O calls; not for multiplexing system calls like
select() and poll().
2007-08-27 15:46:06 +00:00
Michael Kerrisk 74d3223314 ffix/spfix 2007-08-27 08:36:21 +00:00
Michael Kerrisk 604e3ffbf5 Added FIXME. 2007-06-28 17:26:49 +00:00
Michael Kerrisk f19a0f03ee ffix 2007-06-23 07:56:56 +00:00
Michael Kerrisk 097585edcb ffix 2007-06-22 20:40:07 +00:00
Michael Kerrisk 7b2b5ea4fb ffix 2007-06-20 22:20:03 +00:00
Michael Kerrisk f27b37350d Document argument type for SO_REUSEADDR. See Debian bug 255881. 2007-06-17 17:03:38 +00:00
Michael Kerrisk 0e1ad98ccf Updated FIXMEs 2007-06-13 21:48:16 +00:00
Michael Kerrisk 75b94dc35c Change "e.g. " to "e.g., ", or in some cases, "for example, ".
Change "i.e. " to i.e.., ", or in some cases, "that is, ".
2007-06-08 11:56:22 +00:00
Michael Kerrisk d9bfdb9c21 Convert to American spelling conventions 2007-06-08 09:56:56 +00:00
Michael Kerrisk d9343c5c13 Removed version number from .TH line 2007-05-30 05:36:26 +00:00
Michael Kerrisk 8d548bfe96 Removed out-of-date FIXME 2007-05-21 10:10:10 +00:00
Michael Kerrisk 2b2581ee37 Fix inconsistencies in order of .SH sections 2007-05-19 04:30:20 +00:00
Michael Kerrisk 63f6a20a1a Add section numbers to page xrefs 2007-05-11 23:29:44 +00:00
Michael Kerrisk c13182efa3 Wrapped long lines, wrapped at sentence boundaries; stripped trailing
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk cf0a9ace57 ffix 2007-04-05 12:36:57 +00:00
Michael Kerrisk 6b86408509 Place socket options in alpha order. 2006-09-26 13:48:33 +00:00
Michael Kerrisk 4dec66f990 Updated CONFORMING TO section 2006-08-03 13:58:08 +00:00
Michael Kerrisk a28e26a155 s%IO%I/O% 2006-07-21 14:56:18 +00:00
Michael Kerrisk d7090f5bd5 ffix 2006-07-19 23:59:09 +00:00
Michael Kerrisk acac588130 Removed FIXME 2006-05-04 00:10:03 +00:00
Michael Kerrisk 218e46f883 Small FIXME formatting fixes 2006-03-23 02:13:08 +00:00
Michael Kerrisk ec4db3e713 place socket options in alpahbetical order 2006-03-15 09:04:45 +00:00
Michael Kerrisk 594a37e793 ffix 2006-03-15 08:52:00 +00:00
Michael Kerrisk bdca4aead8 Documented SO_SNDBUFFORCE and SO_RCVBUFFORCE socket options, new in 2.6.14. 2006-03-15 08:47:24 +00:00
Michael Kerrisk 8786649296 Wrap long lines; .ta + TABs with spaces in code examples 2006-03-07 02:02:26 +00:00
Michael Kerrisk c533af9d27 Reformatted FIXMEs 2006-02-10 18:46:42 +00:00
Michael Kerrisk 6b4d3c70d5 typo fix 2006-01-13 08:17:15 +00:00
Michael Kerrisk 56185b42e7 Formatting and source code line break changes (no changes to content!) 2006-01-03 10:58:34 +00:00
Michael Kerrisk 17805f5b31 Noted the Linux-specific feature whereby setsockopt() doubles
the value given for SO_SNDBUF and SO_RCVBUF.

Noted kernel imposed minimum values for SO_SNDBUF and SO_RCVBUF.
2005-12-15 12:36:08 +00:00
Michael Kerrisk 514d7e5b92 Updated discussion of SO_BSDCOMPAT.
Reformatted some long lines.
2005-12-14 10:27:30 +00:00
Michael Kerrisk 7199370f3a Further refinement of SO_TIMESTAMP from Urs Thuermann. 2005-12-13 10:46:50 +00:00
Michael Kerrisk 7b5c3d0a78 Von: Urs Thuermann <urs@isnogud.escape.de>
An: "Michael Kerrisk" <mtk-manpages@gmx.net>
Betreff: Re: PATCH: man-pages-2.15, socket option SO_TIMESTAMP
Datum: 02 Dec 2005 08:00:11 +0100

Hello Michael,

> Okay -- let me know if your patch is still good to go after you've
> done your reading/testing.  Maybe I will try to do another 
> man-page release tomorrow, if you you can confirm the details in 2.6.

I have compared 2.4 and 2.6 src again and wrote two small test
programs (one sending udp packets, one receiving the packets and
calling SIOCGSTAMP w/ and w/o SO_TIMESTAMP).  Both, 2.4 and 2.6 have
the same behavior, which may be considered a bug.

When a packet is received its timestamp is stored in the sock
structure in kernel for SIOCGSTAMP to be retreived if SO_TIMESTAMP is
not set, otherwise it is written into a cmsg structure to be returned
with the recvmsg syscall.

Therefore, SIOCGSTAMP doesn't get the correct timestamp, when
SO_TIMESTAMP is set.  Instead, SIOCGSTAMP returns an ENOENT error, if
there has never been a packet reception while SO_TIMESTAMP unset,
since the field in the sock structure in the kernel is initialized to
"no timestamp" (0 in 2.4, -1 in 2.6).  Otherwise, SIOCGSTAMP returns
the timestamp found in the sock structure which is from the last
packet when SO_TIMESTAMP was not set, i.e. it may not be the timestamp
of the last packet received.

I have updated the man page socket(7) accordingly.  Patch is below.

urs
2005-12-08 16:36:30 +00:00
Michael Kerrisk d994d57949 Added text noting that select()/poll() do no respect SO_RCVLOWAT. 2005-11-30 16:09:42 +00:00