Commit Graph

1829 Commits

Author SHA1 Message Date
Michael Kerrisk 47ce6b2f53 pthread_attr_getstackaddr.3: New link to new pthread_attr_setstackaddr.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:17 -05:00
Michael Kerrisk e5b89a8d76 pthread_attr_setstackaddr.3: New page for pthread_attr_setstackaddr(3) and pthread_attr_getstackaddr(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:17 -05:00
Michael Kerrisk 2a58e8edf4 pthread_attr_getstack.3: New link to new pthread_attr_setstack.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:17 -05:00
Michael Kerrisk e0ea179fea pthread_attr_setstack.3: spfix 2008-10-29 14:54:16 -05:00
Michael Kerrisk 4008a5d53a pthread_attr_setstack.3: New page for pthread_attr_setstack(3) and pthread_attr_getstack(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:16 -05:00
Michael Kerrisk 599946250e pthread_attr_getguardsize.3: New link to new pthread_attr_setguardsize.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:16 -05:00
Michael Kerrisk 62fba73a47 pthread_attr_setguardsize.3: New page for pthread_attr_setguardsize(3) and pthread_attr_getguardsize(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:16 -05:00
Michael Kerrisk 5bf083d042 pthread_attr_getstacksize.3: New link to new pthread_attr_setstacksize.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:16 -05:00
Michael Kerrisk 5a8b01e1b9 pthread_attr_setstacksize.3: New page for pthread_attr_setstacksize(3) and pthread_attr_getstacksize(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:16 -05:00
Michael Kerrisk 4f37d29c77 pthread_getattr_np.3: New page for pthread_getattr_np(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:15 -05:00
Michael Kerrisk 1bb776052c pthread_attr_destroy.3: New link to new pthread_attr_init.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:15 -05:00
Michael Kerrisk 7896a15506 pthread_attr_init.3: New page for pthread_attr_init(3) and pthread_attr_destroy(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:15 -05:00
Michael Kerrisk b290aa63eb pthread_detach.3: New page for pthread_detach(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:15 -05:00
Michael Kerrisk ebdd7ee18c pthread_join.3: New page for pthread_join(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:15 -05:00
Michael Kerrisk 8c80f3c6e1 pthread_equal.3: New page for pthread_equal(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:15 -05:00
Michael Kerrisk 8dffe2c455 pthread_self.3: New page for pthread_self(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk 2bb98c3f74 pthread_create.3: minor: three small fixes
Bert Wesarg <bert.wesarg@googlemail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk 87d6864727 pthread_exit.3: wfix: s/value_ptr/retval/
Reported-by: Bert Wesarg <bert.wesarg@googlemail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk c495ab1b69 pthread_exit.3: New page describing pthread_exit(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk 058cd95f5a pthread_create.3: New page describing pthread_create(3)
Let's start filling the big, longstanding gap for documentation
of Linux's implementation(s) of POSIX threads.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk e47fa14cd1 gethostbyname.3: Rationalize text on POSIX.1-2001 obsolete interfaces
POSIX.1 marks gethostbyname(), gethostbyaddr(), and 'h_errno'
as obsolete.  The man page explained this, but with some
duplication.  Remove the duplication, and otherwise tidy up
discussion of this point.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:13 -05:00
Michael Kerrisk 546f67f3cd ctime.3: ctime_r() and localtime_r() need not set 'timezone' and 'daylight'
The man page already noted that these functions need not set
'tzname', but things could be clearer: it tzset() is not called,
then the other two variables also are not set.

Also, clarify that ctime() does set 'timezone' and 'daylight'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:13 -05:00
Michael Kerrisk e6068f213e strftime.3: srcfix: Added FIXME 2008-10-29 14:54:13 -05:00
Michael Kerrisk 44c95a090f stat.2, tsearch.3, tzset.3: wfix: s/SysV/System V/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:12 -05:00
Michael Kerrisk 24f0c87e42 raise.3: SEE ALSO: add pthread_kill(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:12 -05:00
Michael Kerrisk 273f668082 getaddrinfo.3: srcfix: add FIXME 2008-10-29 14:54:04 -05:00
Michael Kerrisk 97004b99bf fopen.3: minor: Add pointer to glibc 'mode' extensions
Add a sentence in DESCRIPTION pointing reader to NOTES for
discussion of glibc extensions for 'mode'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 08:08:50 +02:00
Michael Kerrisk 82b96f0198 fopen.3: srcfix: remove unneeded FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 08:01:20 +02:00
Michael Kerrisk 2f81a9f31c popen.3: Change one-line description in NAME
s%process I/O%pipe stream to or from a process%

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:57:36 +02:00
Michael Kerrisk 67cf694c64 popen.3: wfix: tweak just added text for 'e' flag
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:25 +02:00
Michael Kerrisk e18599c093 popen.3: Document 'e' (close-on-exec) flag
glibc 2.9 implements the 'e' flag in 'type', which sets the
close-on-exec flag on the underlying file descriptor.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:23 +02:00
Michael Kerrisk 28ddfa90ac popen.3: wfix: rework sentence describing 'type' argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:23 +02:00
Michael Kerrisk e008cdda60 fmemopen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:22 +02:00
Michael Kerrisk 16ee3d5694 fmemopen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:22 +02:00
Michael Kerrisk 363e70d263 fmemopen.3: Document binary mode (mode 'b')
Glibc 2.9 adds support to fmemopen() for binary mode opens.
Binary mode is specified by inclusion of the letter 'b' in
the 'mode' argument.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:52:59 +02:00
Michael Kerrisk acddbaea0c Removed trailing white space at end of lines 2008-10-07 10:58:44 +02:00
Michael Kerrisk 9f6293c4ea tstamp 2008-10-06 16:39:20 +02:00
Michael Kerrisk 7f546896f5 tstamp 2008-10-06 16:26:23 +02:00
Michael Kerrisk e8f4a1c928 getcwd.3: wfix (remove duplicate word) 2008-10-05 06:50:51 +02:00
Michael Kerrisk 6a0f91ccfa readdir.3: SEE ALSO: add getdents(2)
Because readdir() is implemented on top of getdents(2).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-29 15:08:04 +02:00
Michael Kerrisk efb92ba155 getdents.2, readdir.3: d_type is currently only supported on ext[234]
As at kernel 2.6.27, only ext[234] support d_type.
On other file systems, d_type is always set to DT_UNKNOWN (0).

Reported-by: Ricardo Catalinas Jimnez <jimenezrick@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-29 15:06:36 +02:00
Michael Kerrisk c42ad30f8c fma.3: Add some source code comments explaining two domain error cases.
Two of the "domain error" cases described on this page are treated in
the same way on Linux, but POSIX.1 specifies some optional differences
for the two cases.  Make life easier for future page reviewers/editors
by adding some comments explaining that POSIX.1-2001 distinguishes
the two cases.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Nicolas Franois <nicolas.francois@centraliens.net>
2008-09-29 13:42:58 +02:00
Nicolas Franois 69cb728c2f wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-29 13:24:36 +02:00
Nicolas Franois 11c87468b9 nextafter.3: Make description more precise: s/next/largest/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-29 13:22:21 +02:00
Nicolas Franois 166f4f1630 floor.3: Fix error in description: s/smallest/largest/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-29 13:21:55 +02:00
Nicolas Franois f010f3a2ce ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-29 13:05:56 +02:00
Nicolas Franois 4718ba1c3b atan2.3: Fix error in description of range or return value
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>

In recent changes to the man page, mtk accidentally cganged
the description of the return value range to -pi/2..pi/2;
the corect range is -pi..pi.
2008-09-29 13:01:44 +02:00
Marko Kreen 7d557e75c0 strcpy.3: Revert earlier change to example strncpy() calls
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>

I browsed the changes there and found a buggy code snippet:
2008-09-29 12:01:26 +02:00
Nicolas Franois 553f115ece cmsg.3: Add parentheses after macro names.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-29 11:33:04 +02:00
Nicolas Franois 178d104e83 Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-29 11:09:52 +02:00
Nicolas Franois 44e5793157 Typo and wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-29 11:00:36 +02:00
Michael Kerrisk 16d023bce2 grfix 2008-09-29 08:48:18 +02:00
Michael Kerrisk 247ac1d3da mg_getattr.3: mq_getattr() and mq_setattr() are layered on mq_getsetattr(2)
mq_getattr() and mq_setattr() are library functions layered on
top of the mq_getsetattr(2) system call.
(This is useful info for users of strace(1).)
2008-09-29 05:51:25 +02:00
Michael Kerrisk c89e428bcd mq_receive.3: mq_send() is a library function layered on mq_timedreceive() syscall
This info is useful for users of strace(1).
2008-09-29 05:40:37 +02:00
Michael Kerrisk 5496c8c1d2 mq_send.3: mq_send() is a library function layered on mq_timedsend() syscall
This info is useful for users of strace(1).
2008-09-29 05:36:48 +02:00
Michael Kerrisk bf0e2b8a8e realpath.3: clarify that returned pathname is NULL terminated
Also clarify that null-byte is included in PATH_MAX limit.
2008-09-26 07:22:00 +02:00
Michael Kerrisk d0cb7cc649 grfix: s/null terminated string/null-terminated string/ 2008-09-26 07:13:25 +02:00
Michael Kerrisk f9db4400fd ctime.3: clarify mktime()'s use of tm_isdst
Describe use of tm_isdst for input to mktime();
explain how mktime() modifies this field.
(This field is left unchanged in case of error.)

Reported-by: Eugene V. Lyubimkin <jackyf.devel@gmail.com>
Debian bug 500178
2008-09-26 06:48:22 +02:00
Michael Kerrisk ef38dda012 ctime.3 Minor rewording
Clarify wording for ctime_r() and asctime_r() to indicate that
the bffer must be at least 26 *bytes*.
2008-09-26 06:05:54 +02:00
Michael Kerrisk 9ef659a9a8 ctime.3: minor rewording of mktime() description. 2008-09-26 06:02:10 +02:00
Michael Kerrisk 8fe528b35b ffix 2008-09-26 05:02:12 +02:00
Michael Kerrisk 63e3731b2c tstamp 2008-09-25 11:11:08 +02:00
André Goddard Rosa 7b80ee9bff strcpy.3: Avoid redundantly filling the position 'n - 1' two times in strncpy() example code
When we use 'strncpy(buf, str, n)', strncpy() will fill chars from 0..(n - 1).
As we force the character at position 'n - 1' to be '\0' anyway, don't fill
it in strncpy() before.

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-25 10:12:33 +02:00
André Goddard Rosa ed7bbec7a5 hsearch.3: Call hdestroy() after using hash table created by hcreate(), for the sake of completeness
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-25 10:02:19 +02:00
Michael Kerrisk 3fe44d51dd Tweak check of 'val' after tsearch() call. 2008-09-23 15:38:33 +02:00
George Spelvin 7134d7e62c Clarify closedir()'s treatment of underlying file descriptor.
At the end of the paragraph in opendir(3) describing fdopendir(), I
think it's worth adding "The file descriptor will be closed when
closedir() is called."  It's a bit ambiguous if the file descriptor
is closed or "given back" at closedir time.

(I've tested this and verified that it's true, BTW.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-23 08:55:50 +02:00
Michael Kerrisk 6dea120e68 Fix 'dir' argument name: should be 'dirp'.
POSIX.1-2008 and glibc call this argument 'dirp' (consistent
with the fact that it is a *pointer* to a DIR structure).
2008-09-23 08:45:52 +02:00
Michael Kerrisk 2390bfe8fd Add feature test macro to example program
tdestroy() needs _GNU_SOURCE.
2008-09-23 08:22:22 +02:00
André Goddard Rosa 6fa5dff6b4 tsearch.3: dispose properly of allocated resources in example code
As there are many users who base their own code on these examples,
we should avoid leaking memory when using functions of tsearch() family.
In the provided example, tsearch() leaks memory whenever it tries to
insert a number which was already inserted before.

Also: include use of tdestroy() in example program.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-23 08:20:29 +02:00
Michael Kerrisk 3e7a52936d Fix 'dir' argument name: should be 'dirp'.
The page formerly used both 'dir' and 'dirp'(!).
POSIX.1-2008 and glibc call this argument 'dirp' (consistent
with the fact that it is a *pointer* to a DIR structure).
2008-09-23 04:25:35 +02:00
Michael Kerrisk d4e9903bb7 Removed trailing white space at end of lines 2008-09-10 12:39:34 +00:00
Michael Kerrisk da1eef3d9d tstamp 2008-09-10 10:35:15 +00:00
Michael Kerrisk 30da961413 tstamp 2008-09-10 10:19:15 +00:00
Michael Kerrisk 19eee0a623 s/stat(2)/lstat(2)/ when discussin d_type (since we
are talking about a case where we might be interested to
whether the file itself is a symbolic link).
2008-09-10 10:18:53 +00:00
Michael Kerrisk 9da1822fd8 tfix 2008-09-10 09:18:38 +00:00
Michael Kerrisk d6a591bc7f tfix 2008-09-10 09:05:33 +00:00
Michael Kerrisk eeeffe2d3b grfix 2008-09-10 03:41:35 +00:00
Michael Kerrisk 6dec79368a tstamp 2008-09-09 05:48:35 +00:00
Michael Kerrisk 79bf8cdcf3 Document fopencookie(3), a library function that allows
custom implementation of a stdio stream.
2008-09-09 05:48:00 +00:00
Michael Kerrisk 037273a620 Describe "shift sequence" input. 2008-09-08 13:50:13 +00:00
Michael Kerrisk 5b0dc1baed s/time zone/timezone/ for consistency across pages and with POSIX.1. 2008-09-07 04:17:25 +00:00
Michael Kerrisk e957764019 Rewrite description of getdate_r() and integrate into main text
(rather than describing in NOTES).
Other parts rewritten for greater clarity.
Make it clearer in the main text that glibc does not implement %Z;
remove discussion of that point from NOTES.
Added an example program.
2008-09-07 04:11:07 +00:00
Michael Kerrisk b905d225d2 Add "Link with -lrt" to SYNOPSIS; remove now redundant
sentence mentioning librt from NOTES.
2008-09-05 10:04:06 +00:00
Michael Kerrisk 0927f4c5cf tweaks 2008-09-03 10:32:22 +00:00
Michael Kerrisk 74f7e82aa9 Updated changelog 2008-09-03 08:09:40 +00:00
Michael Kerrisk fc5911e1ea glibc headers: s/ret/retval/; s/tab/htab/.
Integrate discussion of reentrant functions into main discussion
(rather than as a short paragraph at the end).
Other minor additions and changes.
2008-09-03 08:07:02 +00:00
Michael Kerrisk 7a4076fa06 tweaks 2008-09-03 05:55:36 +00:00
Michael Kerrisk 55fbb69b35 Fix return type of ptsname_r() in SYNOPSIS. 2008-09-03 05:23:11 +00:00
Michael Kerrisk 4f5aae8404 Update changelog 2008-09-02 14:25:59 +00:00
Michael Kerrisk fe80e23e06 Noted that table size as specified by 'nel' is immutable.
Described differences between hsearch() and hsearch_r().
Added missing pieces to RETURN VALUE.
Added a number of new entries under ERRORS.
NOTES: added some basic advice on sizing the hash table;
noted that when a table is destroyed, the caller is responsible
for freeing the buffers pointed to by 'key' and 'data' fields.
One of the BUGS was fixed in glibc 2.3.
Rewrote and clarified various other pieces.
2008-09-02 14:06:20 +00:00
Michael Kerrisk 86bd1991a5 Fix typo: s/sigdelset/sigorset/ 2008-09-01 10:42:14 +00:00
Michael Kerrisk e4da5dfcc3 ffix 2008-09-01 10:30:48 +00:00
Michael Kerrisk 0f200f076c Add/fix feature test macro requirements. 2008-08-29 15:50:13 +00:00
Michael Kerrisk dafba96a51 SEE ALSO: Add clock_gettime(3), clock(3). 2008-08-28 11:13:21 +00:00
Michael Kerrisk 8fe60aeffb Removed trailing white space at end of lines 2008-08-27 06:07:22 +00:00
Michael Kerrisk 8ef32a2b4d tstamp 2008-08-27 06:02:44 +00:00
Michael Kerrisk 7fb7a60bb5 Link to crypt.3. 2008-08-25 04:58:00 +00:00
Michael Kerrisk 4e602cb2b0 Add description of crypt_r(). 2008-08-25 04:57:21 +00:00
Michael Kerrisk 33b1b47eb7 Since glibc 2.7, it is possible to seek past the end of
a stream created by open_memstream().  Add a BUGS section
describing the bug in earlier glibc versions.
2008-08-21 10:06:18 +00:00
Michael Kerrisk 9908786738 Remove FIXMEs. 2008-08-21 08:47:09 +00:00
Michael Kerrisk 345edc6afd POSIX.1-2008 rectifies the POSIX.1-2001 ommission, specifying
that zero is returned by a successful sem_init() call.
2008-08-21 06:48:50 +00:00
Michael Kerrisk 2773008f52 These interfaces are specified in POSIX.1-2008. 2008-08-21 06:31:11 +00:00
Michael Kerrisk 55e80e2598 Relocate text for resolved_path==NULL case to DESCRIPTION.
POSIX.1-2001 leaves the resolved_path==NULL case as
implementation-defined; POSIX.1-2008 specifies the behavior
described in this man page.
2008-08-21 06:25:42 +00:00
Michael Kerrisk 166a4d06b9 These interfaces are specified in POSIX.1-2008. 2008-08-21 06:17:07 +00:00
Michael Kerrisk 9f61bba169 CONFORMING TO: Add POSIX.1-2008; other minor changes. 2008-08-21 06:08:45 +00:00
Michael Kerrisk 1cc22815b9 CONFORMING TO: this function is specified in POSIX.1-2008. 2008-08-21 05:16:55 +00:00
Michael Kerrisk 84af7ae79b Small rewording: "s/returned/failed with/ [an error]". 2008-08-19 15:26:42 +00:00
Michael Kerrisk 05230f064f remove old FIXME 2008-08-18 13:41:08 +00:00
Michael Kerrisk c973f7696e tstamp 2008-08-18 13:40:35 +00:00
Michael Kerrisk 065f4a0f72 RETURN VALUE: emphasize that returned pointer points to a
statically allocated structure.
SEE ALSO: add getrpcent_r.3.
2008-08-18 13:39:50 +00:00
Michael Kerrisk 23b211585a RETURN VALUE: emphasize that returned pointer points to a
statically allocated structure.
SEE ALSO: add getservent_r.3.
2008-08-18 13:39:34 +00:00
Michael Kerrisk b5991a6e70 RETURN VALUE: emphasize that returned pointer points to a
statically allocated structure.
SEE ALSO: add getprotoent_r.3.
2008-08-18 13:37:40 +00:00
Michael Kerrisk d285b8b352 RETURN VALUE: emphasize that returned pointer points to a
statically allocated structure.
SEE ALSO: add getnetent_r.3.
2008-08-18 13:37:08 +00:00
Michael Kerrisk f7ef9c2e94 New links to new getservent_r.3. 2008-08-18 13:29:14 +00:00
Michael Kerrisk e2522543a8 New links to new getrpcent_r.3. 2008-08-18 13:28:29 +00:00
Michael Kerrisk 5486a50afd New links to new getprotoent_r.3. 2008-08-18 13:27:25 +00:00
Michael Kerrisk 600367aa09 New links to new getnetent_r.3. 2008-08-18 13:26:33 +00:00
Michael Kerrisk 1280fbc656 Documents getservent_r(), getservbyname_r(), and
getservbyport_r(), the reentrant equivalents of
getservent(), getservbyname(), and getservbyport().
2008-08-18 13:00:24 +00:00
Michael Kerrisk 6538263954 Documents getrpcent_r(), getrpcbyname_r(), and
getrpcbynumber_r(), the reentrant equivalents of
getrpcent(), getrpcbyname(), and getrpcbynumber().
2008-08-18 12:59:48 +00:00
Michael Kerrisk ca1a4bba44 Documents getprotoent_r(), getprotobyname_r(), and
getprotobynumber_r(), the reentrant equivalents of
getprotoent(), getprotobyname(), and getprotobynumber().
2008-08-18 12:59:21 +00:00
Michael Kerrisk 77f18fb6e2 Documents getnetent_r(), getnetbyname_r(),
and getnetbyaddr_r(), the reentrant equivalents of
getnetent(), getnetbyname(), and getnetbyaddr().
2008-08-18 12:58:37 +00:00
Michael Kerrisk 50fda6b390 Note that the gethostbyaddr() 'net' argument is in host byte order. 2008-08-18 12:10:47 +00:00
Michael Kerrisk e66cd0f2d9 n_net nowadays has type uint32_t 2008-08-18 11:54:04 +00:00
Michael Kerrisk 15c15ebd86 In glibc 2.2, the type of the 'net' argument for getnetbyaddr()
changed from 'long' to 'uint32_t'.
2008-08-18 11:31:40 +00:00
Michael Kerrisk aa966d080f Clarify exactly which functions are obsoleted by getnameinfo()
and getaddrinfo().
2008-08-18 09:14:44 +00:00
Michael Kerrisk 64e082ef40 spfix 2008-08-18 05:56:44 +00:00
Michael Kerrisk b2273bd8f5 s/sigev_notify_function/sigev_thread_function/
as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494956.
2008-08-13 13:07:14 +00:00
Michael Kerrisk 01089ed5b2 s/rpc/RPC/.
Rephrase description in terms of a database, rather than a file.
Note that each of the get*() functions opens a connection to
the database if necessary.
s/zero terminated list/NULL-terminated list/
2008-08-13 05:17:40 +00:00
Michael Kerrisk 8dea53c575 Rephrase description in terms of a database, rather than a file.
Note that each of the get*() functions opens a connection to
the database if necessary.
The database connection is held opend between get*() calls if
'stayopen' is non-zero (not necessarily 1).
s/zero terminated list/NULL-terminated list/
2008-08-13 05:17:08 +00:00
Michael Kerrisk 46e04b724b tstamp 2008-08-12 10:23:04 +00:00
Michael Kerrisk 3fd4929b9c VERSIONS: These functions are available in glibc since version 2.1. 2008-08-11 20:23:22 +00:00
Michael Kerrisk 266b5355cf VERSIONS: strchrnul() since glibc 2.1.1. 2008-08-11 20:13:58 +00:00
Michael Kerrisk 2ee2e7eb1f VERSIONS: mempcpy() since glibc 2.1. 2008-08-11 20:10:18 +00:00
Michael Kerrisk 781166d1d7 VERSIONS: memrchr() since glibc 2.2; rawmemchr() since glibc 2.1. 2008-08-11 20:09:05 +00:00
Michael Kerrisk f0d7ce1d71 Added VERSIONS section pointing out that these functions first appeared
in glibc in version 2.1.
2008-08-11 17:13:47 +00:00
Michael Kerrisk 6b300a6bc3 These functions first appeared in glibc 2.1. 2008-08-11 17:05:02 +00:00
Michael Kerrisk 9df71affab Document clock_getcpuclockid(3). 2008-08-11 10:58:20 +00:00
Michael Kerrisk edf60acbe8 SEE ALSO: Add clock_getcpuclockid(3). 2008-08-11 10:55:31 +00:00
Michael Kerrisk 47836143f8 BUGS: In glibc 2.3.4 and earlier, an FE_OVERFLOW exception is not
raised when an overflow occurs.
2008-08-10 20:03:27 +00:00
Michael Kerrisk 5625342f8c BUGS: In glibc 2.5, log(nan("")) produces a bogus
FE_INVALID exception.
2008-08-10 19:46:04 +00:00
Michael Kerrisk 15b97c4894 BUGS: In glibc 2.5 and earlier these functions do not raise an
FE_UNDERFLOW exception on underflow.
2008-08-10 19:20:27 +00:00
Michael Kerrisk c6eae0ea4b remove junk text left over from last edit 2008-08-10 19:09:15 +00:00
Michael Kerrisk b71168c23f In glibc 2.3.2 and earlier, these functions do not raise an
FE_INVALID exception for a domain error.
2008-08-10 19:08:31 +00:00
Michael Kerrisk 518e5c3021 spfix 2008-08-10 19:01:03 +00:00
Michael Kerrisk ed02bff968 spfix 2008-08-10 15:11:07 +00:00
Michael Kerrisk 7e919b7a1e tfix 2008-08-10 15:10:45 +00:00
Michael Kerrisk 756ede2e38 BUGS: In glibc 2.3.3, tgamma(+-0) produced a domain error
instead of a pole error.
2008-08-10 15:10:08 +00:00
Michael Kerrisk 078dfbb054 BUGS: Note the bogus FE_INVALID exception that occurred in glibc
2.3.2 and earlier on overflow and underflow.
2008-08-10 15:04:14 +00:00
Michael Kerrisk b4338c3fac Restore text about PATH_MAX (it may no be a compile-time constant;
its value may depend on the file system).
2008-08-09 12:22:09 +00:00
Michael Kerrisk c359e37d82 Clarify description of getcwd() for buf==NULL case;
CONFORMING TO: According to POSIX.1, the behavior of getcwd()
is unspecified for the buf==NULL case.
Add an introductory paragraph giving an overview of what these functions do.
Fix error in description of getwd(): it does not truncate the
pathname; rather, it gives an error if the pathname exceeds PATH_MAX bytes.
Rewrote RETURN VALUE section.
Add EINVAL ENAMETOOLONG errors for getwd().
Various other clarifications and wording fixes.
CONFORMING TO: POSIX.1-2001 does not define any errors for getwd().
2008-08-09 05:46:39 +00:00