Commit Graph

894 Commits

Author SHA1 Message Date
Michael Kerrisk 2795ac0be9 spfix 2007-04-05 14:18:37 +00:00
Michael Kerrisk 41798314b6 Code formatting fixes 2007-04-05 14:17:54 +00:00
Michael Kerrisk 7295b7eda0 Replaced tabs with spaces 2007-04-05 13:29:41 +00:00
Michael Kerrisk cf0a9ace57 ffix 2007-04-05 12:36:57 +00:00
Michael Kerrisk 73bc9ed661 tfix 2007-04-03 17:54:06 +00:00
Michael Kerrisk f5ff0796af tfix 2007-04-03 17:53:26 +00:00
Michael Kerrisk b9f027105c ffix 2007-04-03 15:32:52 +00:00
Michael Kerrisk 4fd481a37b Minor rewordings of previous fix 2007-04-03 09:56:33 +00:00
Michael Kerrisk d7c081a94f Add text to clarify that the pointer returned by these
functions may be into some part of 'path'.
2007-03-25 13:15:27 +00:00
Michael Kerrisk e6bcc1287b Ad a few words to clarify the operation of the GNU-specific double-colon
feature, which allows options to have optional arguments.
2007-03-18 06:41:29 +00:00
Michael Kerrisk d44417fb63 Add "#define _ATFILE_SOURCE" to SYNOPSIS 2007-03-01 02:31:08 +00:00
Michael Kerrisk 7669b5a605 Remove duplicated word. 2007-03-01 01:22:38 +00:00
Michael Kerrisk 1954b6a9b4 Remove duplicate word typo. 2007-03-01 01:12:16 +00:00
Michael Kerrisk 5a7f195c23 Removed BSD prototype from synopsis.
Various rewordings.
2007-02-02 06:26:31 +00:00
Michael Kerrisk e2ba4f8ea7 tfix 2007-02-02 06:13:50 +00:00
Michael Kerrisk 117086832e Added FTM to prototype 2007-02-02 06:07:43 +00:00
Michael Kerrisk 60bb61aaee Added SEE ALSO entry pointing to time.7 2007-02-02 05:47:09 +00:00
Michael Kerrisk f42373f64e Removed BSD prototype from synopsis.
Various rewordings.
2007-02-02 05:38:10 +00:00
Michael Kerrisk 0a90178cbb Add feature_test_macros(7) to SEE ALSO 2007-01-28 20:00:24 +00:00
Michael Kerrisk 0393ebd024 Update date in .TH line 2007-01-08 04:46:26 +00:00
Michael Kerrisk 4ae1d7b91e Needs _XOPEN_SOURCE == 600; as per Debian bug 400975. 2007-01-08 04:45:22 +00:00
Michael Kerrisk 19ab037640 Added a section on canonical and non-canonical mode.
Clarify text for PARODD.
2006-12-28 09:16:52 +00:00
Michael Kerrisk 87d1fd8703 Added .SS headers to give some structure to this page; and a small
amount of reordering.
2006-12-28 05:17:28 +00:00
Michael Kerrisk 4a837837ba minor changes 2006-12-28 05:04:17 +00:00
Michael Kerrisk ad715af952 Update CMSPAR description. 2006-12-28 04:36:23 +00:00
Michael Kerrisk adab6032d7 Document CMSPAR 2006-12-28 04:33:54 +00:00
Michael Kerrisk 6395a22348 tfix 2006-12-27 05:35:25 +00:00
Michael Kerrisk 7dc708646c Small rewording to mention calloc(). 2006-12-27 05:28:31 +00:00
Michael Kerrisk c1cf42a5cd Complete rewrite. The existing page was hard to read,
and the RETURN VALUE description seems to be wrong.
2006-12-27 05:20:08 +00:00
Michael Kerrisk 5bcbc3788a wfix 2006-12-27 04:26:35 +00:00
Michael Kerrisk d8495818b0 spfix 2006-12-27 04:26:04 +00:00
Michael Kerrisk 53780be7d7 spfix 2006-12-27 04:24:18 +00:00
Michael Kerrisk ed4ad479e0 ffix 2006-12-27 04:21:27 +00:00
Michael Kerrisk e6d3de0071 Fix .TH line. 2006-12-27 04:20:20 +00:00
Michael Kerrisk 4146a3e3c2 wfix 2006-12-27 04:18:42 +00:00
Michael Kerrisk e075812334 wfix 2006-12-27 04:18:20 +00:00
Michael Kerrisk 358cb5dd5a ffix 2006-12-27 04:17:45 +00:00
Michael Kerrisk 69f8784e6c Fix prototype. 2006-12-27 04:16:33 +00:00
Michael Kerrisk dd01027180 wfix 2006-12-27 04:14:16 +00:00
Michael Kerrisk c4ac7ddef1 tfix 2006-12-27 03:59:48 +00:00
Michael Kerrisk 2d8aa2d8b5 wfix 2006-12-27 03:59:14 +00:00
Michael Kerrisk ea4d425e85 wfix 2006-12-27 03:58:03 +00:00
Michael Kerrisk 7bbdabc49b wfix 2006-12-27 03:57:31 +00:00
Michael Kerrisk 2957bd90a4 spfix 2006-12-27 03:56:54 +00:00
Michael Kerrisk 3547839964 wrap long source lines 2006-12-27 03:54:41 +00:00
Michael Kerrisk 1b3fc756cd s/EACCESS/EACCES/ 2006-12-27 01:47:20 +00:00
Michael Kerrisk fe62e3de5c Add SEE ALSO link to tty_ioctl.4
Add SEE ALSO link to console_ioctl.4
2006-12-23 18:08:49 +00:00
Michael Kerrisk d24e23199c s/Unices/Unix systems/ 2006-12-17 01:04:18 +00:00
Michael Kerrisk d14e88c30e Update CONFORMING TO. 2006-12-17 00:50:14 +00:00
Michael Kerrisk 1eb85d1484 Updated various header pages to accurately reflect which functions
are and are not part of C89.  Also fixed/improved a few other
CONFORMING TO entries.
2006-12-16 22:11:08 +00:00
Michael Kerrisk 92e014f6f6 Added getopt() example program. 2006-12-16 06:14:28 +00:00
Michael Kerrisk 39ad75abcf s/\\n"/\\\\n"/ 2006-12-16 06:12:03 +00:00
Michael Kerrisk 104b099e4e s/ptsname/posix_openpt/ in RETURN VALUE 2006-12-16 04:59:54 +00:00
Michael Kerrisk d77067bde1 ffix 2006-12-05 03:50:48 +00:00
Michael Kerrisk fb0f7d10de s/\\n/\\\\n/ in printf() string in example program. 2006-12-05 03:45:19 +00:00
Michael Kerrisk 7cc028fb0c Clarified description of inet_network(). 2006-12-04 05:46:35 +00:00
Michael Kerrisk b28f7a67d7 Add "#include <stdlib.h>" to example program. 2006-12-04 03:47:56 +00:00
Michael Kerrisk 3bb7c732b3 Add "#define _REGEX_RE_COMP" to SYNOPSIS. 2006-11-30 05:30:44 +00:00
Michael Kerrisk 92e6a91963 Fix return type in SYNOPSIS; as per Debian bug 400971. 2006-11-30 05:30:15 +00:00
Michael Kerrisk cc55d4f177 Minor tweaks to recent changes 2006-11-30 02:53:06 +00:00
Michael Kerrisk 9e9d4ed3e8 Fix wrongly edited string in last edit. 2006-11-28 04:43:51 +00:00
Michael Kerrisk 9731a7fb10 add C99 to CONFORMING TO. 2006-11-28 04:41:03 +00:00
Michael Kerrisk 93ec3baa08 Make desription of MD5 output string less ambiguous. 2006-11-25 19:05:51 +00:00
Michael Kerrisk 9c98d6dae5 wfix. 2006-11-25 18:39:14 +00:00
Michael Kerrisk 420dad7ae0 Added FIXME. 2006-11-25 05:37:22 +00:00
Michael Kerrisk d5da3c8df1 spfix 2006-11-25 05:36:26 +00:00
Michael Kerrisk 22135cad59 Add text descriding Internationalized Domain Name extensions. 2006-11-25 05:35:02 +00:00
Michael Kerrisk d2081eb023 Fix SYNOPSIS for vsyslog(). 2006-11-25 05:34:40 +00:00
Michael Kerrisk ecf19f0cce Add _XOPEN_SOURCE to prototype. 2006-10-13 11:21:08 +00:00
Michael Kerrisk cb47866806 Fix wording referring to the use of strcmp() in 'compar' function.
See Debian bug 391402.
2006-10-06 13:57:33 +00:00
Michael Kerrisk 2dc93271b4 wfix 2006-09-26 12:16:04 +00:00
Michael Kerrisk c3efd1ac8c tfix 2006-09-26 11:14:02 +00:00
Michael Kerrisk 225c76e92d Document IUTF8. 2006-09-25 07:27:38 +00:00
Michael Kerrisk e2905dc1b1 Added some TZ examples.
See Debian bug 386087.
2006-09-18 11:38:09 +00:00
Michael Kerrisk 6cd29063da tfix 2006-09-18 10:25:07 +00:00
Michael Kerrisk 36e212c6ce Fix return type in SYNOPSIS; should be "ssize_t" not "mqd_t". 2006-09-15 11:17:36 +00:00
Michael Kerrisk 988517ae3b Fix broken text in description. 2006-09-07 07:49:41 +00:00
Michael Kerrisk 2c81ad3b48 Fix formula 2006-09-07 07:49:22 +00:00
Michael Kerrisk e17f9d2854 wfix/tfix 2006-09-06 12:43:19 +00:00
Michael Kerrisk 64dd32071a Minor rewording 2006-09-06 12:38:32 +00:00
Michael Kerrisk 3b2049e591 Fix broken text in description.
See Debian bug 386214.
2006-09-06 12:33:29 +00:00
Michael Kerrisk b02850edb7 tfix 2006-09-06 04:30:53 +00:00
Michael Kerrisk 28cdb68a03 ffix 2006-09-04 11:16:27 +00:00
Michael Kerrisk 8039becfd5 Updated ref to C99. 2006-09-04 09:09:37 +00:00
Michael Kerrisk ef0b81712f wfix/tfix 2006-09-04 08:57:04 +00:00
Michael Kerrisk 94a3abfa29 Minor rewording 2006-08-09 09:10:24 +00:00
Michael Kerrisk db71f2e2a5 tfix 2006-08-08 16:26:04 +00:00
Michael Kerrisk ecad088ba8 Fix SYNOPSIS and CONFORMING TO text for getwd() and get_current_dir(). 2006-08-08 16:25:48 +00:00
Michael Kerrisk a7fadb5558 Updated CONFOMRING TOs and/or standards references. 2006-08-04 12:39:17 +00:00
Michael Kerrisk 01a81d111e ffix 2006-08-04 09:43:41 +00:00
Michael Kerrisk 9d9dc1e854 Updated CONFORMING TO and/or standards references 2006-08-04 09:41:28 +00:00
Michael Kerrisk e49f411f31 ffix 2006-08-04 09:29:30 +00:00
Michael Kerrisk e45a6aeadc wfix 2006-08-04 09:27:16 +00:00
Michael Kerrisk 68e1685c25 Updated CONFORMING TO section 2006-08-03 13:57:30 +00:00
Michael Kerrisk 97c5342731 Added SEE ALSO referring to standards.7 2006-08-03 06:13:56 +00:00
Michael Kerrisk 13a54491c0 spfix 2006-08-03 04:08:45 +00:00
Michael Kerrisk 651d06adaa ffix 2006-08-03 03:06:14 +00:00
Michael Kerrisk f563514b10 wfix 2006-08-03 03:05:17 +00:00
Michael Kerrisk 6644360540 wfix 2006-08-03 03:04:40 +00:00
Michael Kerrisk 011ed91c99 Fix incomplete sentence. 2006-08-03 02:47:44 +00:00
Michael Kerrisk f115b9ae2a wfix 2006-08-03 02:46:14 +00:00
Michael Kerrisk 91468f29a4 wfix 2006-08-03 02:42:22 +00:00
Michael Kerrisk 4509e795de ffix 2006-08-03 02:25:12 +00:00
Michael Kerrisk f1440cce86 ffix 2006-07-27 06:07:44 +00:00
Michael Kerrisk 3333513dc2 Added an example program. 2006-07-27 05:53:22 +00:00
Michael Kerrisk 53a9ef805a Point out that args following 'argc' are int.
Various minor wording fixes.
2006-07-27 04:55:50 +00:00
Michael Kerrisk 58fbd10043 Noted inheritance of registrations across fork(). 2006-07-22 14:32:07 +00:00
Michael Kerrisk defcceb3e7 ffix 2006-07-20 16:16:51 +00:00
Michael Kerrisk 134c92adba ffix 2006-07-20 13:53:47 +00:00
Michael Kerrisk 5d7328a3bc Fix section number in .TH line 2006-07-12 13:33:46 +00:00
Michael Kerrisk d8aaa1d394 ffix 2006-07-11 11:46:23 +00:00
Michael Kerrisk e87c9d9746 Removed information about Section 3 subsections -- it doesn't
reflect current, and probably never has.

Added SEE ALSO referring to intro.2.
2006-07-11 10:30:44 +00:00
Michael Kerrisk ad47ce550c Removed FIXME 2006-07-11 04:42:24 +00:00
Michael Kerrisk d9cded8e86 Removed FIXME 2006-07-11 04:23:21 +00:00
Michael Kerrisk 4733f53c8c ffix 2006-07-10 11:07:05 +00:00
Michael Kerrisk a1f5da0b49 ffix 2006-07-10 09:42:06 +00:00
Michael Kerrisk a5dc38c3fd ffix 2006-07-10 09:31:22 +00:00
Michael Kerrisk 78ba016d8e Add SEE ALSO referring to fdopen.3. 2006-07-10 06:43:06 +00:00
Michael Kerrisk fe8931d2f5 wfix 2006-07-05 12:34:27 +00:00
Michael Kerrisk d63f46e14e ffix 2006-07-05 12:32:46 +00:00
Michael Kerrisk cb924abee6 wfix 2006-07-05 09:44:24 +00:00
Michael Kerrisk faa42a0ac6 wfix 2006-07-05 09:01:30 +00:00
Michael Kerrisk 84e10c98de ffix 2006-07-04 04:57:33 +00:00
Michael Kerrisk 3e435c0dd2 Updated FIXME. 2006-07-04 04:53:00 +00:00
Michael Kerrisk e9ec6fc99a Noted BUG that occurs if 'delta' is specified as NULL.
See http://bugzilla.kernel.org/show_bug.cgi?id=6761
2006-06-28 13:28:40 +00:00
Michael Kerrisk fecfb77703 Reworded CONFORMING TO statement on scandir() and alphasort(). 2006-06-14 19:19:41 +00:00
Michael Kerrisk 20f6711f5a Updated CONFORMING TO. 2006-06-08 18:47:54 +00:00
Michael Kerrisk f5f9a30cdd ffix 2006-06-08 18:42:20 +00:00
Michael Kerrisk e797c3a035 Added note about time_t represetnation on other systems.
Added CONFORMING TO.
2006-06-08 18:41:05 +00:00
Michael Kerrisk c15f96ddf8 Add documentation of %m. 2006-06-07 22:45:42 +00:00
Michael Kerrisk 190c7abe49 Add text clarifying treatment of strings starting with minus sign. 2006-06-06 01:07:10 +00:00
Michael Kerrisk 688abfbefe tfix 2006-06-04 20:30:13 +00:00
Michael Kerrisk 3b158837d7 ffix 2006-06-04 20:30:01 +00:00
Michael Kerrisk 7145b9a93c spfix 2006-06-03 01:26:30 +00:00
Michael Kerrisk 7674db48f8 Added license statement (GPL) after consultation with Joerg Scheurich. 2006-06-01 20:30:30 +00:00
Michael Kerrisk f5fed0f693 Added license statement 2006-05-31 22:49:02 +00:00
Michael Kerrisk cc3832e94c Added following to top of these pages to clarify origin and license:
.\" This page was taken from the 4.4BSD-Lite CDROM (BSD license)
2006-05-31 22:43:24 +00:00
Michael Kerrisk c10859eb0d Fix unbalanced quotes 2006-05-31 22:16:55 +00:00
Michael Kerrisk 4f5373ba7b ffix 2006-05-29 05:10:26 +00:00
Michael Kerrisk 8073758dce ffix 2006-05-29 05:10:07 +00:00
Michael Kerrisk b9764f3fe4 wfix 2006-05-29 05:03:11 +00:00
Michael Kerrisk 3f1c1b0aa3 Spelling fixes. 2006-05-29 01:20:08 +00:00
Michael Kerrisk 0be9413e70 minor change 2006-05-26 21:46:17 +00:00
Michael Kerrisk 8cb8622df1 ffix 2006-05-26 19:49:58 +00:00
Michael Kerrisk b325f1fd9c Add #define _GNU_SOURCE to prototype 2006-05-26 19:14:38 +00:00
Michael Kerrisk 82708f9a97 Note that these functions are obsolete in favour of regcomp(3).
Add SEE ALSO referring to regcomp.3
2006-05-25 22:38:19 +00:00
Michael Kerrisk accdf64512 minor 2006-05-25 21:40:52 +00:00
Michael Kerrisk 8d3a1e4b45 Minor changes 2006-05-25 06:24:07 +00:00
Michael Kerrisk 53eef14c87 Added SEE ALSO referring to ftw.3. 2006-05-24 21:06:02 +00:00
Michael Kerrisk 2229eb2a56 Remove commented out NOTES section. 2006-05-24 21:05:05 +00:00
Michael Kerrisk b7924f026e More minor changes. 2006-05-24 21:04:43 +00:00
Michael Kerrisk 7b2d525933 Remove _GNU_SOURCE from example program. 2006-05-24 12:18:39 +00:00
Michael Kerrisk 69515438f3 Various small changes after major rewrite 2006-05-24 09:19:03 +00:00
Michael Kerrisk 5a9673109e Reorder FTW_ACTIONRETVAL option list. 2006-05-24 06:09:24 +00:00
Michael Kerrisk bb3b776eef ffix 2006-05-24 05:19:08 +00:00
Michael Kerrisk 51df525d35 ffix 2006-05-24 05:17:27 +00:00
Michael Kerrisk 538b02cc67 Document FTW_ACTIONRETVAL; include .SH "RETURN VALUE";
Reorganized and rewrote much of the page
Added an example program.
2006-05-24 05:15:12 +00:00
Michael Kerrisk c631f73d2a Add text noting the need to use open(O_EXCL).
Clarify discussion of use of free(3).
Various other minor changes to text and formatting.
2006-05-24 00:02:35 +00:00
Michael Kerrisk 9830df7e24 Updated CONFORMING TO. 2006-05-23 23:59:53 +00:00
Michael Kerrisk 5a7bd424ea Updated CONFORMING TO. 2006-05-23 23:59:14 +00:00
Michael Kerrisk fa5e7dd931 Updated CONFORMING TO. 2006-05-23 23:58:25 +00:00
Michael Kerrisk 18a2cc04e3 ffix 2006-05-23 23:53:45 +00:00
Michael Kerrisk 3b6b5e8b30 Add text noting the need to use open(O_EXCL). 2006-05-23 23:12:47 +00:00
Michael Kerrisk e15f6322fe A few changes to this new page. 2006-05-23 22:35:36 +00:00
Michael Kerrisk 12e416621b New page for offsetof() 2006-05-23 21:47:35 +00:00
Michael Kerrisk c98c9784f6 ffix 2006-05-23 19:59:22 +00:00
Michael Kerrisk 9f61a4270c offsetof() is about to be documented. 2006-05-23 19:46:48 +00:00
Michael Kerrisk a319f32dd2 Updated to remove some functions that don't exist, and therefore don't
need to be documented.
2006-05-23 00:50:33 +00:00
Michael Kerrisk 6883b3e731 Changed copyright commnents to add 'and' in some cases 2006-05-22 23:52:24 +00:00
Michael Kerrisk c2dd39b4ec Add SEE also referring to fts.3. 2006-05-22 23:06:10 +00:00
Michael Kerrisk ba9456cb7f Add SEE also referring to ftw.3. 2006-05-22 23:05:57 +00:00
Michael Kerrisk 5cc68ff071 ffix 2006-05-22 22:07:20 +00:00
Michael Kerrisk 38aa9aec8b ffix 2006-05-22 21:46:10 +00:00
Michael Kerrisk c00a8870eb Clarify that O_EXCL is an open(2) flag. 2006-05-22 21:32:54 +00:00
Michael Kerrisk 3721893add Minor fixes 2006-05-22 19:59:23 +00:00
Michael Kerrisk 9b33650560 wfix 2006-05-22 19:44:47 +00:00
Michael Kerrisk 3e2984b2dd A few fixes. 2006-05-22 08:53:01 +00:00
Michael Kerrisk 7cd244034d s/sigev_signal/sigev_signo/ 2006-05-22 08:27:25 +00:00
Michael Kerrisk 911db49ef9 Fix prototype decln for 'attr'. 2006-05-22 08:25:00 +00:00
Michael Kerrisk b2781acd29 New link to strchr.3. 2006-05-18 23:21:30 +00:00
Michael Kerrisk a0bf357742 Add change log entry for last mod. 2006-05-18 23:20:58 +00:00
Michael Kerrisk c76f15b3ee strchrnul is now documented. 2006-05-18 23:08:17 +00:00
Michael Kerrisk e9d27e13de Add description of strchrnul(). 2006-05-18 23:06:18 +00:00
Michael Kerrisk 2df47dc8f1 Various minor clarifications. 2006-05-18 22:24:03 +00:00
Michael Kerrisk aa52d7769a Added SEE ALSO referring to rpmatch.3. 2006-05-18 21:50:21 +00:00
Michael Kerrisk 451d74fc7e wfix 2006-05-18 21:49:40 +00:00
Michael Kerrisk 6a39becbff Various minor changes. 2006-05-18 21:48:40 +00:00
Michael Kerrisk f3fad5f6b4 Add missing ".so" 2006-05-18 05:22:50 +00:00
Michael Kerrisk 9c2c8eec07 New links to sched_setaffinity.2 2006-05-18 05:17:46 +00:00
Michael Kerrisk 1d6d6d04b2 New links to sigsetops.3. 2006-05-18 05:08:01 +00:00
Michael Kerrisk e21b701fd2 Fix .TH line. 2006-05-17 21:49:21 +00:00
Michael Kerrisk fb84c583f7 wfix 2006-05-17 21:33:53 +00:00
Michael Kerrisk 5f58593e11 ffix 2006-05-17 21:32:42 +00:00
Michael Kerrisk 7707efd2fa New links to select.2 2006-05-17 20:38:15 +00:00
Michael Kerrisk d142e38fbb Add SEE ALSO to stdio.3 2006-05-17 20:07:31 +00:00
Michael Kerrisk a2337ea31e Add SEE ALSO to unlocked_stdio.3 2006-05-17 20:07:21 +00:00
Michael Kerrisk a26a803b4a Remove freadable, fwriteable, fwriting 2006-05-17 20:05:58 +00:00
Michael Kerrisk 4ff5a07b8d ffix 2006-05-17 19:37:53 +00:00
Michael Kerrisk b95582c7c8 ffix 2006-05-16 20:05:19 +00:00
Michael Kerrisk c3b8df7000 wfix 2006-05-15 20:52:20 +00:00
Michael Kerrisk 21038fa244 wfix 2006-05-15 09:23:14 +00:00
Michael Kerrisk a8e7c990dc Rename ftm.7 to feature_test_macros.7 2006-05-15 09:13:10 +00:00
Michael Kerrisk 8699b7dd38 wfix 2006-05-14 21:41:45 +00:00
Michael Kerrisk 3ed4fcbd33 tfix 2006-05-13 21:52:39 +00:00
Michael Kerrisk 0bfd9487fa New link to mq_getattr.3 2006-05-12 19:10:51 +00:00
Michael Kerrisk e2c271700e New link to mq_send.3 2006-05-12 19:10:31 +00:00
Michael Kerrisk 4673d55157 New link to mq_send.3 2006-05-12 19:10:14 +00:00
Michael Kerrisk d2b5344454 New page for rpmatch(3) 2006-05-12 18:49:41 +00:00
Michael Kerrisk 42b099302d Clarify meaning of IXANY.
Clarify relationship of MIN with VMIN and TIME with VTIME.
Noted that CIBAUD, OFDEL, and DELECHO are not implemented on Linux.
Added explanatory paragraph for phrases "not in POSIX" and
"XSI".
2006-05-08 21:37:17 +00:00
Michael Kerrisk 2d2c82e101 wfix 2006-05-08 21:27:27 +00:00
Michael Kerrisk 7c5bd0ebc2 Add missing "const" qualifies to cast in EXAMPLE.
Slight rewording of comments in EXAMPLE.
2006-05-08 06:41:59 +00:00
Michael Kerrisk bcd70adc0e Document 'm' (mmap) flag.
Document 'c' (notcancel) flag.
2006-05-03 23:52:08 +00:00
Michael Kerrisk 22e3b8b11c Add SEE ALSO references to new *at.2 pages 2006-05-02 00:03:35 +00:00
Michael Kerrisk 4f43f21f30 Rewrote RETURN VALUE discussion.
Updated CONFORMING TO.
Removed BUGS.
2006-05-01 05:53:15 +00:00
Michael Kerrisk 8888a90efe Various small changes. 2006-05-01 02:26:44 +00:00
Michael Kerrisk 9fcfcba05f Added SEE ALSO entry referring to setlocale.3 2006-05-01 01:52:57 +00:00
Michael Kerrisk 4c5dd86906 New page for adjtime(3). 2006-05-01 00:14:40 +00:00
Michael Kerrisk 6f57dde7d2 wfix 2006-05-01 00:05:18 +00:00
Michael Kerrisk 16e1b4721c wfix 2006-04-30 21:11:57 +00:00
Michael Kerrisk 7fe9faa251 Rewrote references to program_invocation_name 2006-04-28 20:03:47 +00:00
Michael Kerrisk 36e6dea5bc New link to new program_invocation_name.3. 2006-04-28 20:00:50 +00:00
Michael Kerrisk 900064d47c New page describing program_invocation_name and
program_invocation_short_name variables.
2006-04-28 19:59:46 +00:00
Michael Kerrisk a914ecb389 Remove documented functions 2006-04-28 19:56:45 +00:00
Michael Kerrisk 6ff9cf67aa minor changes 2006-04-28 19:19:03 +00:00
Michael Kerrisk e2daf71dbb New link to new error.3 2006-04-28 18:37:17 +00:00
Michael Kerrisk c768efc691 wfix 2006-04-28 08:18:23 +00:00
Michael Kerrisk 0143e6bcbc minor changes 2006-04-28 06:51:09 +00:00
Michael Kerrisk 37b6aec337 Add SEE ALSO referring to new error.3 2006-04-28 06:47:38 +00:00
Michael Kerrisk 921166c474 New page describing error () and error_at_line() 2006-04-28 06:44:37 +00:00
Michael Kerrisk eafd5ce11f Added SEE ALSO referring to new time.7 2006-04-26 07:26:36 +00:00
Michael Kerrisk 7f4f95858a The range of tm_sec is 0..60 (not 0..61). 2006-04-26 05:49:35 +00:00
Michael Kerrisk 6c98e32416 ffix 2006-04-26 05:49:24 +00:00
Michael Kerrisk bb47b54bfb Add SEE ALSO pointing to getline.3. 2006-04-25 21:31:05 +00:00
Michael Kerrisk cbd3458862 Updated FIXME 2006-04-23 23:34:59 +00:00
Michael Kerrisk 92452da5db ffix 2006-04-23 23:33:10 +00:00
Michael Kerrisk 66679b1f0f 4.x BSD --> 4.xBSD 2006-04-23 23:29:16 +00:00
Michael Kerrisk 96a67b1111 Remove old FIXME 2006-04-23 23:15:26 +00:00
Michael Kerrisk 21008754d7 New page. 2006-04-22 03:56:18 +00:00
Michael Kerrisk a5537674fd wfix 2006-04-21 19:07:17 +00:00
Michael Kerrisk 516f0680e4 Update FIXME 2006-04-21 19:01:55 +00:00
Michael Kerrisk 6dff8403b8 wfix 2006-04-21 19:01:43 +00:00
Michael Kerrisk 50e5322c85 Added SEE ALSO reference to ftm.7 2006-04-21 06:49:34 +00:00
Michael Kerrisk fb961f311e Simplified wording about requirement for _BSD_SOURCE macro. 2006-04-21 06:28:54 +00:00
Michael Kerrisk 2c5e151c7f ipc.7 --> svipc.7 2006-04-21 03:53:43 +00:00
Michael Kerrisk af5b2ef2cc fifo.4 --> fifo.7 2006-04-21 01:46:04 +00:00
Michael Kerrisk a8bda63671 complex.5 --> complex.7 2006-04-21 01:24:06 +00:00
Michael Kerrisk aa949e2d59 environ.5 --> environ.7 2006-04-21 00:45:46 +00:00
Michael Kerrisk 922436594f ipc.5 --> ipc.7 2006-04-21 00:38:38 +00:00
Michael Kerrisk 0acd0e5775 minor changes 2006-04-20 21:56:03 +00:00
Michael Kerrisk b776661a65 Updated FIXME 2006-04-20 20:20:01 +00:00
Michael Kerrisk 97b6cd4152 Add FIXME 2006-04-19 22:56:37 +00:00
Michael Kerrisk af8d55f9ce DESCRIPTION does not need to say "temporary file name" just "temporary
file", since the name is in any case unavailable to the user.
See Debian bug 363518

In DESCRIPTION:
Change /automatically deleted when the program terminates normally/
to     /automatically deleted when the program terminates/
since that is the reality.
2006-04-19 21:19:30 +00:00
Michael Kerrisk 690db71bff Fix typo in description 2006-04-19 20:33:31 +00:00
Michael Kerrisk c75ec721fb Add text noting that disabling output buffering using setbuf()
may be useful to catch errors on output operations.
2006-04-19 02:47:51 +00:00
Michael Kerrisk 5a1cae6b28 Added EXAMPLE section pointing to strtol.3, which provides an example
of the use of the analogous strtol() function.
2006-04-19 01:33:09 +00:00
Michael Kerrisk 56aee8683e Added an example program. 2006-04-19 01:31:51 +00:00
Michael Kerrisk fefe023ea5 Describe correct handling or errno in order to
distinguish error from success after the call.
2006-04-19 00:58:37 +00:00
Michael Kerrisk f1158c074c wfix 2006-04-18 09:02:55 +00:00
Michael Kerrisk 869ebe5b84 Document the feature test macros required to expose various flags.
Clarify speed argument for cfsetispeed() text.
Note that LOBLK is not implemented on Linux.
Clarify arguments for cfsetspeed().
Various formatting changes
2006-04-15 00:39:29 +00:00
Michael Kerrisk e7b0c1f1d7 Minor changes 2006-04-06 05:18:28 +00:00
Michael Kerrisk 91bf3fab3a New page for new mkfifoat.3. 2006-04-05 05:36:09 +00:00
Michael Kerrisk 641220734e Added SEE ALSO to new mkfifoat.3. 2006-04-05 05:34:56 +00:00
Michael Kerrisk 2c731798aa Pages describing POSIX semaphores API 2006-03-25 20:42:27 +00:00
Michael Kerrisk f3cbdba966 FIXME ffix 2006-03-23 03:29:05 +00:00
Michael Kerrisk 218e46f883 Small FIXME formatting fixes 2006-03-23 02:13:08 +00:00
Michael Kerrisk 777f5a9ef7 Updated FIXMEs 2006-03-20 04:46:28 +00:00
Michael Kerrisk f8bb81c576 spfix 2006-03-20 03:13:48 +00:00
Michael Kerrisk 7bc7af37cf Clean up description of EEXIST error.
Debian bug 357893
2006-03-20 03:13:41 +00:00
Michael Kerrisk 739b9bb1b3 spfix 2006-03-20 01:31:53 +00:00
Michael Kerrisk d18b568465 Add needed "#define _XOPEN_SOURCE" 2006-03-19 21:49:15 +00:00
Michael Kerrisk 96d64e9889 ffix 2006-03-19 21:32:39 +00:00
Michael Kerrisk f2665a55f6 Added comment on a glibc header bug 2006-03-12 00:14:51 +00:00
Michael Kerrisk 14eb7ff62e Link to shm_open.3 2006-03-09 04:37:30 +00:00
Michael Kerrisk b3d291f066 Removed some page names that are now documented. 2006-03-09 04:12:30 +00:00
Michael Kerrisk 4ed33e00ac Added SEE ALSO for fexecve.3 2006-03-06 04:55:51 +00:00
Michael Kerrisk 37ca720250 New page 2006-03-06 04:55:27 +00:00
Michael Kerrisk a6c95320cf Only available elsewhere on the BSDs. 2006-03-06 04:34:13 +00:00
Michael Kerrisk 9e1632fd75 futimes(3) 2006-03-06 02:43:48 +00:00
Michael Kerrisk c7da82ff53 ffix 2006-03-05 22:59:17 +00:00
Michael Kerrisk 06ec542b7f Updated FIXME 2006-03-05 20:44:02 +00:00
Michael Kerrisk 37f5831230 tfix 2006-03-02 03:11:54 +00:00
Michael Kerrisk 08140a81ac Minor changes 2006-03-02 02:04:20 +00:00
Michael Kerrisk 1cd27447fe New page. 2006-03-01 04:10:55 +00:00
Michael Kerrisk 80a99f39e6 New pages for POSIX message queues API 2006-03-01 03:21:20 +00:00
Michael Kerrisk efa25b17c6 Modify formatting of copyright notices 2006-02-15 23:19:08 +00:00
Michael Kerrisk 1130df606b Amend copyright notices, in particular those where I had significant
authorship.
2006-02-15 23:15:29 +00:00
Michael Kerrisk 73dc32f064 Expand explanation of FNM_PATHNAME. 2006-02-14 05:03:56 +00:00
Michael Kerrisk ef50679c63 Chage "file name" to "filename" 2006-02-12 22:23:18 +00:00
Michael Kerrisk 2d7195b8fb Change "path name" to "pathname" 2006-02-12 22:19:08 +00:00
Michael Kerrisk 2c5f10893e Change "file name" to "filename" 2006-02-12 22:15:41 +00:00
Michael Kerrisk 0febdb5ca1 Fix up discussion of EAGAIN/EACCESS errors. 2006-02-10 20:27:59 +00:00
Michael Kerrisk c533af9d27 Reformatted FIXMEs 2006-02-10 18:46:42 +00:00
Michael Kerrisk 1709027cdd Added SEE ALSO pointers to wide character equivalent functions 2006-02-09 20:57:44 +00:00
Michael Kerrisk dcec8eb551 Formatting fixes 2006-02-09 20:29:51 +00:00
Michael Kerrisk 9ff08aad91 Formatting fixes 2006-02-09 20:24:53 +00:00
Michael Kerrisk a0ddea8773 Add Linux-specific errors, and mark individual errors as being present
in POSIX or C99

Hello Kurt,

Thanks for your message.

> man3/errno.3 was missing some errors. 

Indeed.

> This patch updates errno.3 based
> on /usr/include/linux/errno.h as of 2.6.16-rc2. 

I do not quite understand that last: /usr/include/linux/errno.h is a 
userland file -- it probably won't tie up too well to a 
specific kernel version (or am I missing something?).

> I also synced the error
> description in the man page with the error descriptions from the header
> file.

This generates some useful info, but also some things that are incorrect.
For example, since you are talking about a glibc header, does a 
particular error even occur on Linux.  (See some examples below.)

I think you also overlooked the fact that the page says that the listed 
errors are defined by POSIX.1-2001.  So it is not sufficient to just 
add new errors to the list.  On the other hand, it is irritating
that the current page does not list Linux-specific errors.
And you patch has finally pushed me to do something I've been 
thinking of for a while.  So I've changed the page to mark the 
errors that are POSIX, and added the Linux-specifc errors, 
integrating some of your patch.

> The patch was diffed against manpages-2.22.

Thanks -- many people forget to mention that detail.

> --- errno.3.orig    2005-12-14 07:09:39.000000000 -0500
> +++ errno.3    2006-02-06 23:45:52.000000000 -0500
> @@ -23,9 +23,11 @@
>  .\" 5 Oct 2002, Modified by Michael Kerrisk <mtk-manpages@gmx.net>
>  .\"     Updated for POSIX 1003.1 2001
>  .\" 2004-12-17 Martin Schulze <joey@infodrom.org>, mtk
> -.\"    Removed errno declaration prototype, added notes
> +.\"        Removed errno declaration prototype, added notes
> +.\" 7 Feb 2006, Modified by Kurt Wall <kwall@kurtwerks.com>
> +.\"     Add missing errors, sync to linux-2.6.16-rc2
>  .\"
> -.TH ERRNO 3 2004-12-17 "" "Library functions"
> +.TH ERRNO 3 2006-02-07 "" "Library functions"
>  .SH NAME
>  errno \- number of last error
>  .SH SYNOPSIS
> @@ -71,61 +73,95 @@
>  .\" FIXME The following list is far from complete
>  .TP
>  .B E2BIG
> -Arg list too long
> +Argument list too long

ok

>  .TP
>  .B EACCES
>  Permission denied
>  .TP
>  .B EADDRINUSE
> -Address in use
> +Address already in use

ok

>  .TP
>  .B EADDRNOTAVAIL
> -Address not available
> +Cannot assign requested address

ok

> +.TP
> +.B EADV
> +Advertise error

This is a HURD error.  As far as I can tell it does not occur on Linux.

>  .TP
>  .B EAFNOSUPPORT
> -Address family not supported
> +Address family not supported by protocol

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B EAGAIN
> -Resource temporarily unavailable
> +Try again

This is wrong.  (i.e., it does not match POSIX and/or 
what perror(3) produces)

>  .TP
>  .B EALREADY
> -Connection already in progress
> +Operation already in progress

POSIX differs.  I stayed with POSIX.

> +.TP
> +.B EBADE
> +Invalid exchange

ok

>  .TP
>  .B EBADF
> -Bad file descriptor
> +Bad file number

This is wrong.

> +.TP
> +.B EBADFD
> +File descriptor in bad state

ok

>  .TP
>  .B EBADMSG
> -Bad message
> +Not a data message

This is wrong.

> +.TP
> +.B EBADR
> +Invalid request descriptor

ok

> +.TP
> +.B EBADRQC
> +Invalid request code

ok

> +.TP
> +.B EBADSLT
> +Invalid slot

ok

> +.TP
> +.B EBFONT
> +Bad font file format

As far as I can tell, this is not used on Linux.  Let me know 
if you find otherwise. (I didn't add it)

>  .TP
>  .B EBUSY
> -Resource busy
> +Device or resource busy

ok

>  .TP
>  .B ECANCELED
> -Operation canceled
> +Operation Canceled

Please review the output of automated scripts!
(not changed)

>  .TP
>  .B ECHILD
>  No child processes
>  .TP
> +.B ECHRNG
> +Channel number out of range

ok

> +.TP
> +.B ECOMM
> +Communication error on send

ok

> +.TP
>  .B ECONNABORTED
> -Connection aborted
> +Software caused connection abort

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B ECONNREFUSED
>  Connection refused
>  .TP
>  .B ECONNRESET
> -Connection reset
> +Connection reset by peer

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B EDEADLK
> -Resource deadlock avoided
> +Resource deadlock would occur

POSIX differs.  I stayed with POSIX.

> +.TP
> +.B EDEADLOCK
> +Resource deadlock would occur (might be the same value as
> +.BR EDEADLK)

I wrote just "Synonym for EDEADLK"

>  .TP
>  .B EDESTADDRREQ
>  Destination address required
>  .TP
>  .B EDOM
> -Domain error
> +Math argument out of domain of func

? Garbled

I wrote the POSIX defn: Mathematics argument out of domain of function

> +.TP
> +.B EDOTDOT
> +RFS specific error

This is defined, but appears not to be used.
(I didn't add it)

>  .TP
>  .B EDQUOT
> -Reserved
> +Quota exceeded

POSIX says "Reserved."  In this case better to go with
"Disk quota exceeded"

>  .TP
>  .B EEXIST
>  File exists
> @@ -136,8 +172,11 @@
>  .B EFBIG
>  File too large
>  .TP
> +.B EHOSTDOWN
> +Host is down

ok

> +.TP
>  .B EHOSTUNREACH
> -Host is unreachable
> +No route to host

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B EIDRM
>  Identifier removed
> @@ -146,25 +185,70 @@
>  Illegal byte sequence
>  .TP
>  .B EINPROGRESS
> -Operation in progress
> +Operation now in progress

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B EINTR
> -Interrupted function call
> +Interrupted system call

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B EINVAL
>  Invalid argument
>  .TP
>  .B EIO
> -Input/output error
> +I/O error

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B EISCONN
> -Socket is connected
> +Transport endpoint is already connected

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B EISDIR
>  Is a directory
>  .TP
> +.B EISNAM
> +Is a named type file

ok

> +.TP
> +.B EKEYEXPIRED
> +Key has expired

ok

> +.TP
> +.B EKEYREJECTED
> +Key was rejected by service

ok

> +.TP
> +.B EKEYREVOKED
> +Key has been revoked

ok

> +.TP
> +.B EL2HLT
> +Level 2 halted

ok

> +.TP
> +.B EL2NSYNC
> +Level 2 not synchronized

ok

> +.TP
> +.B EL3HLT
> +Level 3 halted

ok

> +.TP
> +.B EL3RST
> +Level 3 reset

ok

> +.TP
> +.B ELIBACC
> +Can not access a needed shared library

ok

> +.TP
> +.B ELIBBAD
> +Accessing a corrupted shared library

ok

> +.TP
> +.B ELIBEXEC
> +Cannot exec a shared library directly

ok

> +.TP
> +.B ELIBMAX
> +Attempting to link in too many shared libraries

ok

> +.TP
> +.B ELIBSCN
> +.lib section in a.out corrupted

ok

> +.TP
> +.B ELNRNG
> +Link number out of range

This is defined, but appears not to be used.
(I didn't add it)

> +.TP
>  .B ELOOP
> -Too many levels of symbolic links
> +Too many symbolic links encountered

this is wrong

> +.TP
> +.B EMEDIUMTYPE
> +Wrong medium type
>  .TP
>  .B EMFILE
>  Too many open files
> @@ -173,32 +257,41 @@
>  Too many links
>  .TP
>  .B EMSGSIZE
> -Inappropriate message buffer length
> +Message too long

ok

>  .TP
>  .B EMULTIHOP
> -Reserved
> +Multihop attempted

ok
POSIX says "Reserved."  In this case better to go with
Linux.

>  .TP
>  .B ENAMETOOLONG
> -Filename too long
> +File name too long

Scripted output?
(no change)

> +.TP
> +.B ENAVAIL
> +No XENIX semaphores available

This is defined, but appears not to be used.
(I didn't add it)

>  .TP
>  .B ENETDOWN
>  Network is down
>  .TP
>  .B ENETRESET
> -Connection aborted by network
> +Network dropped connection because of reset

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B ENETUNREACH
> -Network unreachable
> +Network is unreachable

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B ENFILE
> -Too many open files in system
> +File table overflow

This is wrong

> +.TP
> +.B ENOANO
> +No anode

This is defined, but appears not to be used.
(I didn't add it)

>  .TP
>  .B ENOBUFS
>  No buffer space available
> +.TP
> +.B ENOCSI
> +No CSI structure available

This is defined, but appears not to be used.
(I didn't add it)

>  .\" ENODATA is part of XSR option
>  .TP
>  .B ENODATA
> -No message is available on the STREAM head read queue
> +No data available

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B ENODEV
>  No such device
> @@ -209,17 +302,29 @@
>  .B ENOEXEC
>  Exec format error
>  .TP
> +.B ENOKEY
> +Required key not available

ok

> +.TP
>  .B ENOLCK
> -No locks available
> +No record locks available

This is wrong

>  .TP
>  .B ENOLINK
> -Reserved
> +Link has been severed

ok
POSIX says "Reserved."  In this case better to go with
Linux.

> +.TP
> +.B ENOMEDIUM
> +No medium found

ok

>  .TP
>  .B ENOMEM
> -Not enough space
> +Out of memory

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B ENOMSG
> -No message of the desired type
> +No message of desired type

POSIX differs.  I stayed with POSIX.

> +.TP
> +.B ENONET
> +Machine is not on the network

ok

> +.TP
> +.B ENOPKG
> +Package not installed

ok

>  .TP
>  .B ENOPROTOOPT
>  Protocol not available
> @@ -229,17 +334,20 @@
>  .\" ENOSR is part of XSR option
>  .TP
>  .B ENOSR
> -No STREAM resources
> +Out of streams resources

POSIX differs.  I stayed with POSIX.

>  .\" ENOSTR is part of XSR option
>  .TP
>  .B ENOSTR
> -Not a STREAM
> +Device not a stream

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B ENOSYS
>  Function not implemented
>  .TP
> +.B ENOTBLK
> +Block device required
> +.TP

ok

>  .B ENOTCONN
> -The socket is not connected
> +Transport endpoint is not connected

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B ENOTDIR
>  Not a directory
> @@ -247,27 +355,33 @@
>  .B ENOTEMPTY
>  Directory not empty
>  .TP
> -.B ENOTSOCK
> -Not a socket
> +.B ENOTNAM
> +Not a XENIX named type file

This is defined, but appears not to be used.
(I didn't add it)

>  .TP
> -.B ENOTSUP
> -Not supported

No!  This exists.


> +.B ENOTSOCK
> +Socket operation on non-socket
>  .TP
>  .B ENOTTY
> -Inappropriate I/O control operation
> +Not a typewriter

this is wrong

> +.TP
> +.B ENOTUNIQ
> +Name not unique on network

ok

>  .TP
>  .B ENXIO
>  No such device or address
>  .TP
>  .B EOPNOTSUPP
> -Operation not supported on socket
> +Operation not supported on transport endpoint

POSIX differs.  I stayed with POSIX.

(In passing ENOTSUP and EOPNOTSUPP have the same value on Linux;
POSIX.1 does not permit this.)

>  .TP
>  .B EOVERFLOW
> -Value too large to be stored in data type
> +Value too large for defined data type

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B EPERM
>  Operation not permitted
>  .TP
> +.B EPFNOSUPPORT
> +Protocol family not supported

ok

> +.TP
>  .B EPIPE
>  Broken pipe
>  .TP
> @@ -281,39 +395,76 @@
>  Protocol wrong type for socket
>  .TP
>  .B ERANGE
> -Result too large
> +Math result not representable

POSIX differs.  I stayed with POSIX.

> +.TP
> +.B EREMCHG
> +Remote address changed

ok

> +.TP
> +.B EREMOTE
> +Object is remote

ok

> +.TP
> +.B EREMOTEIO
> +Remote I/O error

ok

> +.TP
> +.B ERESTART
> +Interrupted system call should be restarted

ok

>  .TP
>  .B EROFS
>  Read-only file system
>  .TP
> +.B ESHUTDOWN
> +Cannot send after transport endpoint shutdown

ok

> +.TP
> +.B ESOCKTNOSUPPORT
> +Socket type not supported

ok

> +.TP
>  .B ESPIPE
> -Invalid seek
> +Illegal seek

POSIX differs.  I stayed with POSIX.

>  .TP
>  .B ESRCH
>  No such process
>  .TP
> +.B ESRMNT
> +Srmount error

This is defined, but appears not to be used.
(I didn't add it)

> +.TP
>  .B ESTALE
> -Stale file handle
> +Stale NFS file handle

Tricky -- you are right about the error message, 
but the message itself is wrong, because the error 
can occur on other file sytems also.
(not changed)

>  .\" Can occur for NFS and for other file systems
>  .\" ETIME is part of XSR option
>  .TP
> +.B ESTRPIPE
> +Streams pipe error

ok

> +.TP
>  .B ETIME
> -STREAM 
> -.BR ioctl () 
> -timeout
> +Timer expired

POSIX differs, but Linux doesn't have streams, and the error is 
used for various purposes.  Changed as you proposed.

>  .TP
>  .B ETIMEDOUT
> -Operation timed out
> +Connection timed out

ok

> +.TP
> +.B ETOOMANYREFS
> +Too many references: cannot splice

This is defined, but appears not to be used.
(I didn't add it)

>  .TP
>  .B ETXTBSY
>  Text file busy
>  .TP
> -.B EWOULDBLOCK
> -Operation would block (may be same value as
> -.BR EAGAIN )

Absolutely not!!

> +.B EUCLEAN
> +Structure needs cleaning

ok

> +.TP
> +.B EUNATCH
> +Protocol driver not attached

ok

> +.TP
> +.B EUSERS
> +Too many users

ok

> +.TP
> +.B EWOULDBLOCK    
> +Operation would block (might be same value as
> +.BR EAGAIN)

okay (except formatting was not quite right: .BR EAGAIN )

>  .TP
>  .B EXDEV
> -Improper link
> +Cross-device link
> +.TP
> +.B EXFULL
> +Exchange full

ok
2006-02-08 18:26:38 +00:00
Michael Kerrisk 92057f4dbc Updated FIXMEs 2006-02-08 09:44:13 +00:00
Michael Kerrisk 23b3fc77bb Added cross-ref to locale.7 for 'struct lconv' defn.
Other minor wording changes.
2006-02-07 23:32:50 +00:00
Michael Kerrisk 48e1940d60 wfix 2006-02-07 22:54:01 +00:00
Michael Kerrisk 0087e7c432 Added SEE ALSO ref for nl_langinfo.3
As per Debian bug 351831.
2006-02-07 20:57:53 +00:00
Michael Kerrisk 6e888f06d1 Minor formatting & wording fixes. 2006-02-05 08:57:26 +00:00
Michael Kerrisk 43daf87dcd Minor formatting & wording fixes. 2006-02-05 08:54:26 +00:00
Michael Kerrisk 803ef3359c tfix 2006-01-23 06:43:04 +00:00
Michael Kerrisk 3f266a435b s/string must begin/string may begin/ 2006-01-19 18:45:50 +00:00
Michael Kerrisk 6e592244a8 Slight rewording of recent added text 2006-01-17 20:13:03 +00:00
Michael Kerrisk d0ac4fb3e2 Make clear that when calling getopt_long() and there are no
short options, then 'optstring' should be "" not NULL.
2006-01-16 22:48:21 +00:00
Michael Kerrisk 660dd25fee In glibc 2.0.92, openpty() was modified to return
Unix 98 ptys instead of BSD ptys.
2006-01-16 22:07:42 +00:00
Michael Kerrisk 48a1cb4903 Small rewording under EXAMPLE. 2006-01-16 19:48:56 +00:00
Michael Kerrisk cd6d114a27 new link to mmap.2 2006-01-15 20:40:32 +00:00
Michael Kerrisk a3a1166783 Some rewordings of recently added text 2006-01-15 01:08:56 +00:00
Michael Kerrisk 788be12467 Clarify how strcmp() should be used as the 'compar'
function by providing an example.
2006-01-14 18:25:27 +00:00
Michael Kerrisk ab95e95e01 Formatting fix 2006-01-14 17:14:10 +00:00
Michael Kerrisk 0ed29c540c Noted use of atexit() to register a function that is
automatically called when a library is unloaded.
2006-01-14 05:37:06 +00:00
Michael Kerrisk bba0618959 Added description of RTLD_DEEPBIND. 2006-01-14 05:14:39 +00:00
Michael Kerrisk 336e88f0f8 Rewrote discussion of dlopen() 'flag' argument;
added description of RTLD_NOLOAD and RTLD_DELETE.
2006-01-14 04:29:47 +00:00
Michael Kerrisk f6a5acc97f Add RETURN VALUE section. 2006-01-13 09:58:42 +00:00
Michael Kerrisk 80b50848d0 Replace "SYSV" by "System V" 2006-01-13 09:44:53 +00:00
Michael Kerrisk aa651b3950 Replace "SysV" by "System V" 2006-01-13 09:39:55 +00:00
Michael Kerrisk 845f2c47c6 Grammar/formatting fixes 2006-01-13 09:34:01 +00:00
Michael Kerrisk 28d88c1751 Global change to many pages...
Various pages use inconsistent terms for 'null byte' (which
is the C99/SUSv3 term for the '\0' character).
To rectify this the following changes were made in these pages:

Replace 'zero byte' with 'null byte'.
Replace 'null character' with 'null byte'.
Replace 'nulls' with 'null bytes'.
Replace 'NUL-terminated' by 'null-terminated'.
Replace 'NUL' by 'null byte'.
Replace 'terminating NUL' by 'terminating null byte'.
Replace 'final NUL' by 'terminating null byte'.
Replace 'NUL character' by 'null byte'.
2006-01-13 02:09:44 +00:00
Michael Kerrisk 89c9a3145e Rewrote substantial parts of the page, and relicensed under GPL. 2006-01-13 00:22:47 +00:00
Michael Kerrisk 47a1e7e424 Noted historical use of <stdio.h> to declare getopt(). 2006-01-12 19:46:24 +00:00
Michael Kerrisk b62a20b74d Noted that this function is available since glibc 2.2. 2006-01-01 12:00:09 +00:00
Michael Kerrisk 53948b0178 s/nulls/null bytes/ 2006-01-01 07:20:29 +00:00
Michael Kerrisk 89cc227528 Formatting fix 2005-12-19 10:33:47 +00:00
Michael Kerrisk a30e090e7c Added description of 'x' mode character (exclusive open). 2005-12-15 15:58:16 +00:00
Michael Kerrisk d7871cf963 Added err(3) to SEE ALSO 2005-12-14 12:09:39 +00:00
Michael Kerrisk 26b66d19a9 Added CONFORMING TO section noting that these are non-standard BSDisms. 2005-12-14 12:08:59 +00:00
Michael Kerrisk ed07f09aeb A few refinments to recent changes 2005-12-14 09:27:17 +00:00
Michael Kerrisk aca9215859 dded resolver(5) to SEE ALSO 2005-12-13 18:42:35 +00:00
Michael Kerrisk 6e84dfa12a Rewrote and extended the discussion of the two flavours of
strerror_r(), and added some additional information on strerror().
2005-12-13 18:42:16 +00:00
Michael Kerrisk ac1056b5c0 Remove cross references to resolv+(8); add cross references to
resolv.conf(5).  (See also Debian Bug#214892)
2005-12-13 15:23:07 +00:00
Michael Kerrisk 24268a723c Added references to nsswitch.conf(5); remove cross references
to resolv+(8)
2005-12-13 15:22:17 +00:00
Michael Kerrisk 010b1b8e1c Typo fix 2005-12-12 09:27:49 +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 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 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 456107929b Some text that should have been a comment was not .\"-ed. 2005-12-01 09:10:11 +00:00
Michael Kerrisk 500d7ebccb Various changes, notably more detail on FIXMEs 2005-11-30 13:33:11 +00:00
Michael Kerrisk ed149213f2 Minor changes 2005-11-29 17:59:53 +00:00
Michael Kerrisk 3bf6b2a437 Links to sigset.3 2005-11-29 17:42:57 +00:00
Michael Kerrisk 53191f2f12 New page describing Sysatem V signal API. 2005-11-29 17:40:16 +00:00
Michael Kerrisk 46c721e7b5 Added sigset(3) to SEE ALSO 2005-11-29 17:39:29 +00:00
Michael Kerrisk 9fe51d8dd9 Fixed SEE ALSO 2005-11-29 15:24:57 +00:00
Michael Kerrisk 40f5483976 Some minor wording fixes; clarified System V origins of
X/Open flavour of this function.
2005-11-29 15:13:21 +00:00
Michael Kerrisk 30ecea55d4 Changed SEE ALSO to reflect movement of sig* pages between sections. 2005-11-29 15:01:54 +00:00
Michael Kerrisk e3f86a1c91 Moved to section 3. 2005-11-29 14:58:23 +00:00
Michael Kerrisk 2368c06331 Links to sigvec.3 2005-11-29 14:54:39 +00:00
Michael Kerrisk 9c2866d728 New page describing BSD signal API. 2005-11-29 14:54:07 +00:00
Michael Kerrisk 1dba80288e [f]statvfs is now documented in Section 2. 2005-11-28 08:47:34 +00:00
Michael Kerrisk 7119b0d144 Added example program 2005-11-23 09:34:07 +00:00
Michael Kerrisk a4020d9ca4 Wording improvements for 'flag' and 'width' descriptions.
Some wording changes to bring terminology closer to SUSv3.
2005-11-23 09:01:15 +00:00
Michael Kerrisk ee14b2e09f Added GLIBC NOTES section describing padding and width specifiers. 2005-11-22 18:41:24 +00:00
Michael Kerrisk 8db74412a0 Add further text clarifying that %+ specifier is not supported
in glibc2.
2005-11-22 17:57:48 +00:00
Michael Kerrisk 29a7a0825a Remove description of non-existent %+ specifier. 2005-11-22 17:48:32 +00:00
Michael Kerrisk 3fa59745c5 Added FIXME 2005-11-22 15:54:50 +00:00
Michael Kerrisk c66f2b952d Added a GLIBC NOTES section describing sigisemptyset(),
sigandset(), and sigorset().
2005-11-21 14:50:40 +00:00
Michael Kerrisk 1279fe798c Fix typo 2005-11-21 08:52:27 +00:00
Michael Kerrisk 87cee315d8 An almost total rewrite! 2005-11-17 17:55:27 +00:00
Michael Kerrisk 817e5eab95 Formerly, the pge said that all systems declare memalign() in
<malloc.h>.  In fact, many declare it in <stdlib.h>.
2005-11-15 18:17:08 +00:00
Michael Kerrisk 55b447e61f Formatting fix 2005-11-15 17:57:53 +00:00
Michael Kerrisk f820196915 Although the glibc implementation returns -1 on error (and some
other man pages (e.g., the BSDs) also document that value for 
error returns), SUSv3 merely says "non-zero" (and this is what 
manual pages on many implementations also say).
2005-11-15 17:57:39 +00:00
Michael Kerrisk 054fccc0d1 Formatting fix 2005-11-15 17:56:36 +00:00
Michael Kerrisk a2af275c39 Fixed to point out that that frexp() returns a number whose
*absolute* value is >= 0.5 and < 1.  Amended the example
program to demonstrate this.
2005-11-14 14:19:52 +00:00
Michael Kerrisk 0bd5e3de9e Added comment 2005-11-03 14:29:44 +00:00
Michael Kerrisk 9a562e4236 New page taken from BSD (FreeBSD 5.4) 2005-11-03 14:27:02 +00:00
Michael Kerrisk bd12ab88af Formatting fixes 2005-11-03 12:47:27 +00:00
Michael Kerrisk 8478ee0279 Formatting fixes 2005-11-02 13:55:25 +00:00
Michael Kerrisk 836f07c1c3 Change things like "NULL-terminated string" to "null-terminated string" 2005-11-02 11:55:24 +00:00
Michael Kerrisk c02d27b62f space clean-up 2005-11-02 11:44:23 +00:00
Michael Kerrisk 31e9a9ec99 Change itacised function names and page xrefs to bold 2005-11-02 11:34:24 +00:00
Michael Kerrisk 8a9648b96f Formatting fixes 2005-11-02 11:10:24 +00:00
Michael Kerrisk 6e1ffb9817 Formatting fix 2005-10-28 13:43:45 +00:00
Michael Kerrisk a94dba21dc Formatting fixes 2005-10-28 13:35:35 +00:00
Michael Kerrisk bf93c935d1 s/GNU_SOURCE/_GNU_SOURCE/ 2005-10-28 13:27:52 +00:00
Michael Kerrisk d1a6e6ff04 Change <netinet/in.h> to <arpa/inet.h> in prototype; add text
explaining that some systems need the former header.
As per Debian bug 265244
2005-10-27 09:58:45 +00:00
Michael Kerrisk a749f870a8 s/XXX/FIXME/ 2005-10-26 11:27:52 +00:00
Michael Kerrisk 1e32103455 Formatting fixes 2005-10-20 15:11:10 +00:00
Michael Kerrisk f87925c6bf Formatting fixes 2005-10-19 16:30:05 +00:00
Michael Kerrisk bee2a27738 Fix capitalisations 2005-10-19 14:57:33 +00:00
Michael Kerrisk 4d52e8f81c Formatting fixes 2005-10-19 14:54:31 +00:00
Michael Kerrisk b5cc2ffbaa Formatting fixes 2005-10-19 14:48:35 +00:00
Michael Kerrisk 4a225b7a41 Formatting fixes 2005-10-19 14:16:57 +00:00
Michael Kerrisk 35e21ba7ca Formatting fixes 2005-10-19 13:48:50 +00:00
Michael Kerrisk d302a9a9c3 spelling fixx 2005-10-19 13:20:29 +00:00
Michael Kerrisk 9ef334c7cc remove parens from function name in .SH NAME section 2005-10-19 13:19:53 +00:00
Michael Kerrisk 27e59a1f0b Minor wording fix 2005-10-19 13:18:58 +00:00
Michael Kerrisk 826b3f2763 Formatting fix 2005-10-19 13:17:47 +00:00
Michael Kerrisk 1c4700c568 Minor change to RETURN VALUE text. 2005-10-19 13:15:49 +00:00
Michael Kerrisk 3382bd94ff Manual fixes of parentheses formatting 2005-10-19 08:35:30 +00:00
Michael Kerrisk e1d6264d9f Manual fixes for parentheses formatting 2005-10-19 07:29:28 +00:00
Michael Kerrisk 63aa9df02f Automated unformatting of parentheses using unformat_parens.sh 2005-10-19 07:07:02 +00:00
Michael Kerrisk e511ffb6bc Automated addition of parentheses by add_parens_for_own_funcs.sh 2005-10-19 06:54:38 +00:00
Michael Kerrisk 834fec09e7 Removed references to fropen() and fwopen(), which are
BSDisms that don't appear in glibc.
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=331174
2005-10-12 14:11:30 +00:00
Michael Kerrisk 88ab292b0d Added SEE ALSO for pty.7 2005-10-10 13:14:12 +00:00
Michael Kerrisk 6546fec22c s/getrpcent/setrpcent/ (fix from Fedora man-pages-2.07-7). 2005-10-04 13:01:07 +00:00
Michael Kerrisk 6da0ad1883 Fix: s/acosh/atanh/ (fix from Fedora man-pages-2.07-7) 2005-10-04 12:48:05 +00:00
Michael Kerrisk 3302970d23 Typo fix: %Ry ==> %Ey [SUSv3 mentions...] (fix from Fedora man-pages-2.07-7). 2005-10-04 12:42:11 +00:00