Commit Graph

1298 Commits

Author SHA1 Message Date
Michael Kerrisk 23c36287fb POSIX.1 does not specify utmpx _r() functions. 2008-06-29 05:53:20 +00:00
Michael Kerrisk 747f898c32 There are no utmpx equivalents of the _r reentrant functions. 2008-06-29 05:52:07 +00:00
Michael Kerrisk ff6953dcb9 Replace defintion of utmp structure by pointer to utmp(5). 2008-06-29 04:42:41 +00:00
Michael Kerrisk 1bced40f58 SEE ALSO: add utmp(5). 2008-06-29 04:07:23 +00:00
Michael Kerrisk 11f0ca5eb1 Add definition of utmp structure. 2008-06-29 03:56:55 +00:00
Michael Kerrisk 043945ef16 Clarify return value of pututline(). 2008-06-29 03:04:55 +00:00
Michael Kerrisk ce515cd45f utmpname() does return a value. 2008-06-29 02:48:56 +00:00
Michael Kerrisk 6387216bb2 Wrap lines at sentence breaks. 2008-06-28 04:57:20 +00:00
Michael Kerrisk 6a56b9b2f5 Remove just-added text aboout scope-IDs -- it's bogus: scpe-IDs could only
be used by functions that fll in a sockkaddr_in6 structure, which
inet_pton() does not.
2008-06-27 04:19:41 +00:00
Michael Kerrisk ddaec46d7f s/host name/hostname/ 2008-06-27 03:37:56 +00:00
Michael Kerrisk e02685531b inet_pton() does not support specifying IPv6 scope-IDs. 2008-06-26 14:34:02 +00:00
Michael Kerrisk c783f23753 getaddrinfo() supports specifying IPv6 scope-IDs. 2008-06-26 14:33:37 +00:00
Michael Kerrisk 8dcc7633ed Fix error in description of IPv6 presentation format.
s/x.x.x.x.x.x.x.x/xxxx:x/
2008-06-26 14:20:16 +00:00
Michael Kerrisk 5ab17ae7b0 Fix confused wording for return value of setvbuf().
Fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488104.
Other minor rewordings.
2008-06-26 14:02:30 +00:00
Michael Kerrisk 7316d60fea wfix 2008-06-26 13:45:39 +00:00
Michael Kerrisk ae4a72b7b2 Remove orphaned formatting macros. 2008-06-26 13:39:26 +00:00
Michael Kerrisk 5b8dbfd4d0 ffixes 2008-06-26 13:23:48 +00:00
Michael Kerrisk cd60dedde9 Removed trailing white space at end of lines 2008-06-25 15:32:01 +00:00
Michael Kerrisk 1d7c4d16b2 SEE ALSO: add time(7) 2008-06-23 08:48:25 +00:00
Michael Kerrisk 7042009b7c tweaks 2008-06-22 13:15:34 +00:00
Michael Kerrisk 194f4ccb72 Document the GNU 'a' modifier for dynamically allocating strings.
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487254.
Document the GNU 'm' modifier for dynamically allocating strings.
2008-06-22 10:35:40 +00:00
Michael Kerrisk 46bbbb3519 .\" comment fix 2008-06-22 08:36:06 +00:00
Michael Kerrisk 646af540e4 Add an ERRORS section documenting at least some of the errors
that may occur for scanf().
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487254.
2008-06-22 08:35:24 +00:00
Michael Kerrisk c246714df1 The longstanding bug that if delta was NULL, olddelta didn't return the
outstanding clock adjustment, is now fixed (since glibc 2.8 + kernel 2.6.26).
http://sourceware.org/bugzilla/show_bug?id=2449
http://bugzilla.kernel.org/show_bug.cgi?id=6761
2008-06-22 05:20:51 +00:00
Michael Kerrisk cb772f766a Rewrote various pieces, and added some details. 2008-06-22 02:01:50 +00:00
Michael Kerrisk 26d4d0d6d4 ffix 2008-09-18 12:30:42 +00:00
Michael Kerrisk 61792fc66b ffix 2008-09-18 12:30:41 +00:00
Michael Kerrisk b24ac2ee70 ffix 2008-09-18 12:30:40 +00:00
Michael Kerrisk a3c5b73c67 ffix 2008-09-18 12:30:39 +00:00
Michael Kerrisk 1df2213318 ffix 2008-09-18 12:30:38 +00:00
Michael Kerrisk bf66f9bde2 ffix 2008-09-18 12:30:38 +00:00
Michael Kerrisk 5eab0978cf ffix 2008-09-18 12:30:37 +00:00
Michael Kerrisk 2fadbfb588 For consistency, "fix" cases where aregument of .B or .I was on the following source line. 2008-06-18 08:57:49 +00:00
Michael Kerrisk 7bcd433363 Document DT_LNK (symbolic link) for d_type field.
Reorder DT_ entries alphabetically.
2008-06-18 08:50:55 +00:00
Michael Kerrisk 58f362c32a Document DT_LNK (symbolic link) for d_type field. 2008-06-17 15:32:03 +00:00
Michael Kerrisk cd1aabe6b1 Remove statement that inet_pton() extends inet_ntoa();
that's not really true, since inet_pton() doesn't support
all of the string forms that are supported by inet_ntoa();
as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482987.
Describe IPv6 address formats.
Describe dotted decimal format in more detail.
Add an example program.
Remove unneeded header files from SYNOPSIS.
Make NAME line more precise.
Make description of return value more precise.
SEE ALSO: Add inet(3), Add getaddrinfo(3).
2008-06-13 10:37:04 +00:00
Michael Kerrisk 3b26a174e5 Remove unneeded header files from SYNOPSIS.
SEE ALSO: Add inet(3) and getnameinfo(3).
Make NAME line more precise.
Move errors to an ERRORS section.
Add EXAMPLE section pointing to inet_pton(3).
2008-06-13 10:23:57 +00:00
Michael Kerrisk 054f5228c6 inet_aton() is *not* in POSIX.1.
Rewrite discussion of why inet_addr() is disfavored.
SEE ALSO: Add getaddrinfo(3).
as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482979.
Describe the various address forms supported by inet_aton().
Rewrite description of inet_network().
Clarify discussion of inet_lnaof(), inet_netof(), and inet_makeaddr().
Add discussion of Classful Addressing, noting that it is obsolete.
Added an EXAMPLE program.
Relocate discussion of i386 byte order to NOTES.
Note that inet_aton() returns an address in network byte order.
SEE ALSO: Add byteorder(3) and getnameinfo(3).
2008-06-13 10:22:21 +00:00
Michael Kerrisk 444aa1ce8c DESCRIPTION: Add reference to inet_addr(3) for dotted notation.
SEE ALSO: add inet(3).
Added BUGS section noting that gethostbyname() does not
recognize hexadecimal components in dotted address strings;
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482973
2008-06-13 10:14:55 +00:00
Michael Kerrisk a3edd71dc4 Improve description or 'hints' and 'res' arguments.
Add details on numeric strings that can be specified for 'node'.
Other fairly major restructrings and rewrites to improve
logical structure and clarity of the page.
2008-06-13 10:00:32 +00:00
Michael Kerrisk 481c58cae6 Remove mention of sa_len field from example code.
That field is a BSDism not present on Linux.
2008-06-13 09:54:52 +00:00
Michael Kerrisk cd117d4875 s/strcat/strncat/ (a typo that changed the semantics in DESCRIPTION). 2008-06-13 09:40:16 +00:00
Michael Kerrisk 2d50dd9efa Modify SYNOPSIS to show protoypes of both versions of strerror_r(),
and make other small clarifications of the description regarding
the two versions.
2008-06-13 09:10:47 +00:00
Michael Kerrisk a1d5601bee Removed trailing white space at end of lines 2008-06-12 11:52:08 +00:00
Michael Kerrisk 5c1decfcc2 Remove outdated FIXME. 2008-06-12 06:20:47 +00:00
Michael Kerrisk 8d2394ac80 Link to mkstemp.3 2008-06-12 06:20:27 +00:00
Michael Kerrisk 20523df7ef Wrap source lines so that new sentence starts on new line. 2008-06-12 06:09:19 +00:00
Michael Kerrisk 6cefc99668 Add description of mkostemp(), new in glibc 2.7.
Fix discussion of O_EXCL flag.
These functions may also fail for any of the errors described in open(2).
Various other rewordings.
2008-06-12 05:18:05 +00:00
Michael Kerrisk c81e8a4261 Various minor changes. 2008-06-12 05:16:43 +00:00
Michael Kerrisk ad22ad5568 ffix 2008-06-11 22:19:03 +00:00