Commit Graph

998 Commits

Author SHA1 Message Date
Michael Kerrisk f1b85fe3a8 Removed some functions that have been documented. 2007-05-26 15:20:27 +00:00
Michael Kerrisk ad7cc990f2 Change reference to path_resolution.2 to path_resolutiion.7 2007-05-26 12:41:39 +00:00
Michael Kerrisk f9ee70bd11 s/int/socklen_t/ for type of gethostbyaddr() 'len' argument,
and add a few more words in NOTES about the type used here.
2007-05-26 05:56:21 +00:00
Michael Kerrisk ccd2b351c8 Removed "." at end of SEE ALSO list 2007-05-22 21:49:38 +00:00
Michael Kerrisk 3a72373c40 Added section numbers to page xrefs 2007-05-21 22:14:09 +00:00
Michael Kerrisk 69b29c7838 Revised .SH NAME section. 2007-05-21 22:08:15 +00:00
Michael Kerrisk 2a1b7cdc22 spfix 2007-05-21 22:02:11 +00:00
Michael Kerrisk a7e1c01a76 ffix 2007-05-21 21:25:44 +00:00
Michael Kerrisk 363a3cc956 Added section numbers to page xrefs 2007-05-21 21:23:17 +00:00
Michael Kerrisk f5848b8cb3 ffix 2007-05-21 21:21:55 +00:00
Michael Kerrisk efe1a2860b Added feenableexcept, fedisableexcept, fegetexcept to .SH NAME list. 2007-05-21 21:16:13 +00:00
Michael Kerrisk a4c0544d80 Added 'putwc' to .SH NAME list. 2007-05-21 17:50:05 +00:00
Michael Kerrisk a51a49df4e added Section numbers to xrefs 2007-05-21 17:45:30 +00:00
Michael Kerrisk aa4962263b s/manpage/man page/ 2007-05-21 12:58:17 +00:00
Michael Kerrisk ce3b40096f Added CONFORMING TO section 2007-05-21 11:09:59 +00:00
Michael Kerrisk e6b5cd8f8a Rewrite and substantial additional text. 2007-05-21 11:00:08 +00:00
Michael Kerrisk e754087acc Updated FIXME 2007-05-21 10:01:48 +00:00
Michael Kerrisk 9f18660d9b Moved link instructions from NOTES to SYNOPSIS. 2007-05-21 09:58:23 +00:00
Michael Kerrisk e9329f6ddc Where there is an instruction in the SYNOPIS about linking
or compiling with a certain option, the option is now
marked up in itlacs (e.g., "\fI-lm\fP").
2007-05-21 09:56:00 +00:00
Michael Kerrisk c91a473e2f sfix 2007-05-21 09:52:28 +00:00
Michael Kerrisk 3ed66e6862 Removed remark from NOTES about linking with -lutil; add
text on that point to SYNOPSIS.
2007-05-21 09:49:27 +00:00
Michael Kerrisk 7c2bff6909 Removed redundant remark from NOTES about linking with -lutil
since there is text on that point under SYNOPSIS.
2007-05-21 09:49:04 +00:00
Michael Kerrisk acffc0bcc7 Minor clarifications for text on execlp() and execvp().
Removed FILES section, since it provides no useful additional info.
2007-05-21 09:16:32 +00:00
Michael Kerrisk ceff519199 Added SEE ALSO referring to getconf(1). 2007-05-21 08:55:27 +00:00
Michael Kerrisk 0c53539460 ffix 2007-05-21 08:47:38 +00:00
Michael Kerrisk 56e836392e ffix 2007-05-21 08:43:39 +00:00
Michael Kerrisk 9ea01008b4 Removed out-of-date FIXME 2007-05-21 08:00:31 +00:00
Michael Kerrisk 206ed58741 Small rearrangement of text under NOTES. 2007-05-21 07:53:35 +00:00
Michael Kerrisk 2b2581ee37 Fix inconsistencies in order of .SH sections 2007-05-19 04:30:20 +00:00
Michael Kerrisk a1d5f77cc8 Reordered sections to be more consistent, in some cases renaming
sections or shifting paragraphs between sections.
2007-05-18 16:06:42 +00:00
Michael Kerrisk 1714b360ba ffix 2007-05-18 12:23:36 +00:00
Michael Kerrisk 7b1efcab96 Rewrote a heading 2007-05-18 12:19:07 +00:00
Michael Kerrisk 105482f27b Make AVAILABILITY section into NOTES 2007-05-18 12:16:52 +00:00
Michael Kerrisk 0303758ca5 wfix 2007-05-18 12:12:34 +00:00
Michael Kerrisk d3ae488781 Renamed "NOTES ON GNU VERSION" to "NOTES". 2007-05-18 12:12:03 +00:00
Michael Kerrisk 889829be48 Removed HISTORY section, or moved it as a subsection or paragraphs
under another section e.g., NOTES.
2007-05-18 11:59:14 +00:00
Michael Kerrisk b32f7afa5b --Ths line, and those below, will be ignored--
M    sigpause.3
2007-05-18 11:17:52 +00:00
Michael Kerrisk 4fb3134194 Relocated LINUX NOTES as subsection under NOTES 2007-05-18 10:39:45 +00:00
Michael Kerrisk d597239cbd Relocated GLIBC NOTES as subsection under NOTES 2007-05-18 10:30:02 +00:00
Michael Kerrisk ff08fb6dcf Fix inconsistency in .TH line 2007-05-18 10:13:34 +00:00
Michael Kerrisk 69289f8a29 Fix inconsistencies in .TH line 2007-05-18 10:09:18 +00:00
Michael Kerrisk 6996254443 Fix inconsistencies in .TH lines 2007-05-18 09:55:10 +00:00
Michael Kerrisk 05eabe6576 Fix inconsistencies in .TH line 2007-05-18 09:21:38 +00:00
Michael Kerrisk 3d5a3539b7 Fix inconsistencies in .TH lines 2007-05-18 09:11:21 +00:00
Michael Kerrisk e127c16af7 Changed date in .TH line into form YYYY-DD-MM. 2007-05-18 08:56:42 +00:00
Michael Kerrisk 0ed55ece49 Make "manual" in .TH line "Linux Programmers Manual" 2007-05-18 08:43:42 +00:00
Michael Kerrisk 24c48a8f25 s/DIAGNOSTICS/RETURN VALUE/ 2007-05-18 08:00:21 +00:00
Michael Kerrisk e37e328263 Move SEE ALSO section to end of page 2007-05-16 18:25:50 +00:00
Michael Kerrisk 8af1ba10bd Convert SH to SS and other section-related fixes. 2007-05-16 17:35:34 +00:00
Michael Kerrisk 6b8fa90b18 wfix 2007-05-16 17:12:12 +00:00
Michael Kerrisk ee6688eae2 ffix 2007-05-16 16:53:26 +00:00
Michael Kerrisk 536fb94064 Convers ome .SH to .SS 2007-05-16 16:49:12 +00:00
Michael Kerrisk d219a1a320 s/\.SH ENVIRONMENT VARIABLES/.SH ENVIRONMENT/ 2007-05-16 16:39:49 +00:00
Michael Kerrisk 9ba9cb6442 s/SH WARNING/SH NOTES/ 2007-05-16 05:03:37 +00:00
Michael Kerrisk 0b5dc6f115 s/RETURN VALUES/RETURN VALUE/ 2007-05-16 05:00:31 +00:00
Michael Kerrisk a759cc870f Renamed .SH AVAILABILITY to .SH VERSIONS 2007-05-16 04:53:05 +00:00
Michael Kerrisk 1a8b02f4a1 ffix 2007-05-16 04:42:32 +00:00
Michael Kerrisk bc0f625028 wfix 2007-05-16 04:40:46 +00:00
Michael Kerrisk 5aa145bd2a Removed statement that glibc unconditionally exposes declarations
of encrypt() and setkey(), since portable applications must
use <unistd.h> and define _XOPEN_SOURCE to obtain the declarations 
of setkey() and encrypt().  Adjusted example program accordingly.
2007-05-16 04:17:19 +00:00
Michael Kerrisk 6459c9ca10 ffix 2007-05-16 04:00:06 +00:00
Michael Kerrisk 42ca79eb46 ffix 2007-05-16 03:59:19 +00:00
Michael Kerrisk 2c4637ed65 Minor rewording 2007-05-16 03:26:58 +00:00
Michael Kerrisk 19c98696a2 s/SH NOTE$/SH NOTES/ 2007-05-16 02:54:18 +00:00
Michael Kerrisk 99c7ba5573 Slight rewording. 2007-05-16 02:50:51 +00:00
Michael Kerrisk 5bc8c34c03 s/return 0/exit(EXIT_FAILURE)/ in main() function example program 2007-05-16 02:09:09 +00:00
Michael Kerrisk db4bf819d6 Minor wording and formatting changes 2007-05-15 05:46:45 +00:00
Michael Kerrisk 4c44ffe5dc Use symbolic constants in exit(2) calls 2007-05-14 21:11:42 +00:00
Michael Kerrisk be7fff26d5 Wrap source lines 2007-05-12 13:26:09 +00:00
Michael Kerrisk 1608e0bdaf ffix 2007-05-12 13:22:06 +00:00
Michael Kerrisk d9c1ae6480 Use bold for function name, not underline. 2007-05-12 13:12:02 +00:00
Michael Kerrisk 7c93fec03d Wrapped source lines 2007-05-12 12:58:31 +00:00
Michael Kerrisk a44012756e Minor repairs after global edits 2007-05-12 12:53:57 +00:00
Michael Kerrisk 60a90ecdae Convert function formatting of the form "\fBname\fP()" to ".BR name ()". 2007-05-12 09:06:04 +00:00
Michael Kerrisk 91fe9d5cd7 Add section numbers to xrefs 2007-05-12 01:02:19 +00:00
Michael Kerrisk b2ad03aad1 Add "getopt_long" and "getopt_long_only" in .SH NAME line. 2007-05-12 00:54:32 +00:00
Michael Kerrisk 99ed1fdaeb ffix 2007-05-12 00:51:02 +00:00
Michael Kerrisk 6f4b6fc9f0 Add "sem_timedwait" and "sem_trywait" to .SH NAME line. 2007-05-12 00:44:48 +00:00
Michael Kerrisk fb18673428 Adding section numbers to xrefs toother pages 2007-05-12 00:30:29 +00:00
Michael Kerrisk 393a89e698 Add func names to .SH NAME line 2007-05-11 23:09:29 +00:00
Michael Kerrisk 0f8b10ebbb wfix 2007-05-11 18:37:19 +00:00
Michael Kerrisk d5d687b1c4 Ffix 2007-05-11 18:36:21 +00:00
Michael Kerrisk 8c6ad0309c Added Author/Copyright line 2007-05-06 08:37:09 +00:00
Michael Kerrisk 6ce8cde26d Documentation of euidaccess() and eaccess(). 2007-05-06 08:32:47 +00:00
Michael Kerrisk 4a855e305f Removed out-of-date FIXME 2007-05-06 07:04:46 +00:00
Michael Kerrisk d7652592e5 Minor changes. 2007-05-04 22:35:31 +00:00
Michael Kerrisk 33c98653f5 Add SEE ALSO ref to new getsubopt.3. 2007-05-04 22:21:48 +00:00
Michael Kerrisk 645259f435 Doc for getsubopt(). 2007-05-04 22:21:25 +00:00
Michael Kerrisk bf9cf7db9d New links to sem_wait.3 2007-05-04 21:47:35 +00:00
Michael Kerrisk 2e8d048af1 Documentation of bsd_signal(). 2007-05-04 21:19:18 +00:00
Michael Kerrisk 7594eb9223 Documentation of sysv_signal(). 2007-05-04 21:18:57 +00:00
Michael Kerrisk f262c00464 hyphen --> minus 2007-05-01 08:15:41 +00:00
Michael Kerrisk 00e287101e Fix use of "\" before "-". 2007-04-27 17:25:28 +00:00
Michael Kerrisk 0fcd5bc9cb "-1" should be "\-1" 2007-04-27 17:11:22 +00:00
Michael Kerrisk ca5ac06642 Fix incorrect use of "\-". 2007-04-27 17:04:30 +00:00
Michael Kerrisk 18013de547 Update CONFORMING TO; iswblank() is in POSIX.1-2001. 2007-04-27 16:49:26 +00:00
Michael Kerrisk 269e84247b Describe the glibc/libiconv //TRANSLIT and //IGNORE extensions for 'tocode'. 2007-04-27 16:45:22 +00:00
Michael Kerrisk 7981ddab29 Clarify discussion of negative zero. 2007-04-27 16:28:36 +00:00
Michael Kerrisk d0f17b5722 s/wide character/wide-character/ when used attributively. 2007-04-24 19:40:35 +00:00
Michael Kerrisk f94498eeb8 s/nonnegative/non-negative/ 2007-04-24 19:11:01 +00:00
Michael Kerrisk fbe183be19 Wrapped long lines 2007-04-24 19:06:06 +00:00
Michael Kerrisk aecf31c045 Wrap long lines 2007-04-24 16:56:21 +00:00
Michael Kerrisk 1c44bd5b0b Wrap long lines; start sentences on new lines 2007-04-24 16:44:51 +00:00
Michael Kerrisk b59e0ccebb spfix 2007-04-21 11:05:12 +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 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