Commit Graph

694 Commits

Author SHA1 Message Date
Michael Kerrisk f8858ae992 Ready for 2.17 2005-12-13 11:27:22 +00:00
Michael Kerrisk 9e809d86f5 Ready for 2.17 2005-12-13 11:25:04 +00:00
Michael Kerrisk 4ccef6766d Ready for 2.17 2005-12-13 11:22:52 +00:00
Michael Kerrisk 7199370f3a Further refinement of SO_TIMESTAMP from Urs Thuermann. 2005-12-13 10:46:50 +00:00
Michael Kerrisk 010b1b8e1c Typo fix 2005-12-12 09:27:49 +00:00
Michael Kerrisk cde9f44b19 Added comment noting that fork.2 refers to the example program on this
page.
2005-12-12 09:19:46 +00:00
Michael Kerrisk d7b0e083ce Added xref to pipe.2 for another example of use of fork(). 2005-12-12 09:18:35 +00:00
Michael Kerrisk bb001e259b minor chgs 2005-12-12 09:17:47 +00:00
Michael Kerrisk 2d1af8c71a Added test on EXAMPLE PROGRAMS 2005-12-12 09:16:33 +00:00
Michael Kerrisk 8440a332f7 Formatting fix 2005-12-09 16:37:46 +00:00
Michael Kerrisk 1fa343d1ab Added example program demonstrating use of fork() and waitpid(). 2005-12-09 16:37:05 +00:00
Michael Kerrisk 2f59b1bc3c Added pointer to example of fork() in wait.2. 2005-12-09 16:36:12 +00:00
Michael Kerrisk 15740f8afd Added example program. 2005-12-09 14:24:10 +00:00
Michael Kerrisk 48afe71d57 Improvements after suggestions from Michael Haardt. 2005-12-09 14:23:53 +00:00
Michael Kerrisk be37f2c558 Added SEE ALSO for new pipe.7 page 2005-12-08 18:57:25 +00:00
Michael Kerrisk 2adb3bd6da New page providing overview of pipes and FIFOs. 2005-12-08 18:52:42 +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 17d9609858 Added FIXMEs 2005-12-08 16:19:38 +00:00
Michael Kerrisk 86cfe9cb9e New documentation for the glibc specific fmemopen() and
open_memstream().
2005-12-08 16:15:17 +00:00
Michael Kerrisk a0aa388db9 Rearranged EAI_* list alphabetically. 2005-12-06 15:18:03 +00:00
Michael Kerrisk 6a7f0c48ab Formatting fix 2005-12-06 15:13:12 +00:00
Michael Kerrisk 7739f1d436 Removed BROWSER, since it seems not in fact to be common. 2005-12-06 13:13:48 +00:00
Michael Kerrisk 9b7116b18f Added GLIBC NOTES describing feature test macros required
to expose declaration of inet_aton().
2005-12-06 10:34:54 +00:00
Michael Kerrisk 2b185f9296 Added FIXME 2005-12-05 16:22:59 +00:00
Michael Kerrisk 7562c4e6f2 Added FIXME 2005-12-05 16:20:34 +00:00
Michael Kerrisk bf71d57c68 Added some FIXMEs 2005-12-05 16:16:07 +00:00
Michael Kerrisk 26905f6a55 Noted 200 millisecond celing imposed on TCP_CORK. 2005-12-05 13:38:18 +00:00
Michael Kerrisk fed1575042 Delete line that should have been deleted when applying
2.08 fix for this page.
2005-12-05 09:30:10 +00:00
Michael Kerrisk 67497d825e Start of 2.17 2005-12-05 09:25:01 +00:00
Michael Kerrisk ab4c694972 Start of 2.17 2005-12-05 09:23:16 +00:00
Michael Kerrisk bb9c42b967 Prepare for 2.16 2005-12-02 15:23:31 +00:00
Michael Kerrisk 2aeb02e015 Prepare for 2.16 2005-12-02 15:17:34 +00:00
Michael Kerrisk eeabb34e30 The -1 error return of shmat() should be cast "(void *)". 2005-12-02 08:09:44 +00:00
Michael Kerrisk c1164764b0 Added NOTES about INFTIM contant provided on some other implementations. 2005-12-01 16:03:36 +00:00
Michael Kerrisk f6179c2fbd Formatting fix 2005-12-01 14:05:11 +00:00
Michael Kerrisk 59e8f714bd Clarification: s%SOCK_PACKET%PF_INET/SOCK_PACKET% 2005-12-01 10:12:56 +00:00
Michael Kerrisk 1415e84202 Fix a typo: s/SOCK_RAW/SOCK_PACKET/ 2005-12-01 10:09:34 +00:00
Michael Kerrisk 42f4eb3871 Added Debian instructions for finding package maintainer 2005-12-01 09:29:44 +00:00
Michael Kerrisk 456107929b Some text that should have been a comment was not .\"-ed. 2005-12-01 09:10:11 +00:00
Michael Kerrisk ce9cd1fafc Start of 2.16 2005-11-30 16:46:59 +00:00
Michael Kerrisk 545903411a start of 2.16 2005-11-30 16:45:05 +00:00
Michael Kerrisk 7497dd9f2f Prepare for 2.15 2005-11-30 16:36:29 +00:00
Michael Kerrisk 4d094552cd prepare for 2.15 2005-11-30 16:31:38 +00:00
Michael Kerrisk af83a63726 Prepare for 2.15 2005-11-30 16:30:32 +00:00
Michael Kerrisk d994d57949 Added text noting that select()/poll() do no respect SO_RCVLOWAT. 2005-11-30 16:09:42 +00:00
Michael Kerrisk a14245c218 Add as new link to vm86.2 2005-11-30 15:24:52 +00:00
Michael Kerrisk ebe423512e Doc describing how to help with with man page maintenance. 2005-11-30 13:33:58 +00:00
Michael Kerrisk 500d7ebccb Various changes, notably more detail on FIXMEs 2005-11-30 13:33:11 +00:00
Michael Kerrisk ae67047c0c s/tcp_socket/udp_socket/ in example
Fixes Debian bug 340927
2005-11-30 08:38:58 +00:00
Michael Kerrisk ed149213f2 Minor changes 2005-11-29 17:59:53 +00:00