jruoho
0e2d5f4d40
Use standard section headers.
2010-05-14 16:05:49 +00:00
joerg
8331b95fa9
Fix trailing whitespace
2010-05-14 03:22:49 +00:00
joerg
f0c7b477dc
Fix markup
2010-05-14 03:04:32 +00:00
wiz
6f1249aa8e
Join %U.
2010-05-13 23:30:52 +00:00
christos
96f5fe0aab
PR/43300: Takahiro Kambe: LOG_PID and LOG_CONSOLE printed syslogp messages
...
to the console/stderr since the syslogp conversion.
2010-05-13 22:40:14 +00:00
joerg
332c9caca2
Use plain references and don't depend on multiple expansion runs.
2010-05-13 21:52:43 +00:00
joerg
fb270d1e3d
Mask %U, it is a macro nowadays.
2010-05-13 21:50:11 +00:00
jruoho
f05bdd5ecd
Remove the note about the standard recommending fgets(3);
...
should be clear enough from the big warning to "NEVER use gets()".
2010-05-13 18:38:24 +00:00
jruoho
b2368e5383
Move the structure inside the body text. Some additional markup improvements.
2010-05-13 18:04:58 +00:00
jruoho
08cdc5df90
Build links for syslogp(3), syslogp_r(3), vsyslogp(3), and vsyslogp_r(3).
...
From Takahiro Kambe in PR lib/43301.
2010-05-13 17:48:50 +00:00
mbalmer
c10c30d557
Correctly spell 'acknowledged'.
...
Found by Christian Brueffer.
2010-05-11 16:17:18 +00:00
wiz
968a574a9b
Wording.
2010-05-08 11:35:14 +00:00
wiz
8add53fd8a
Remove double quotes around missing function in BUGS section.
2010-05-08 11:22:58 +00:00
jruoho
c713a498a5
Note POSIX compliance.
2010-05-06 18:55:34 +00:00
jruoho
70a5142faf
Note POSIX compliance. Reword a little around the example.
2010-05-06 11:46:11 +00:00
jruoho
5686044fbd
.Nm -> .Fn.
2010-05-06 11:09:39 +00:00
jruoho
7f1766c2e5
Small improvements to markup and wording.
2010-05-06 09:46:49 +00:00
jruoho
fc240ff6c6
Small markup improvements.
2010-05-06 09:34:52 +00:00
jruoho
2184425c2a
Note that EBADF is optional for fileno() in POSIX.
2010-05-06 09:18:06 +00:00
jruoho
dccc94a2b3
Put the historical note to its own section. Note that also the other
...
functions (except the _unlocked variants) were in early UNIX versions.
2010-05-06 09:01:34 +00:00
jruoho
aa18298cd3
Note POSIX compliance.
2010-05-06 08:58:57 +00:00
jruoho
4c0553eda5
Correct the discussion about return values: fileno() may fail and return -1.
...
Note that in such cases the NetBSD implementation does not set errno to
EBADF, hence diverging from the standard in this small detail.
2010-05-06 08:14:08 +00:00
wiz
c45196503b
Sort errors.
2010-05-05 22:07:58 +00:00
jruoho
61d5c5bd31
Note the POSIX compliance (already since SUSv2, '97).
2010-05-05 06:55:57 +00:00
jruoho
12456d3098
Properly enumerate the two special cases. Also some markup improvements.
2010-05-05 06:04:19 +00:00
jruoho
29cfcc518e
Upon lukem@'s request, put the list of functions back.
...
XXX: Someone needs to go through all standard I/O functions in the libc,
update the list, and keep it updated. While at it, please convert the
list to use .Xr so that we can have links in HTML pages.
2010-05-05 04:13:16 +00:00
jruoho
dd121e1e5b
Remove the list of functions.
...
This list was updated only two times in nearly two decades.
(If people need to learn the standard I/O functions in C, it would be better
to mention K&R or some other textbook; if people need to know the list of
functions, it would be better to point out the location of the standard.)
In addition, some clean-up and structural editing.
2010-05-04 07:43:12 +00:00
jruoho
0fb5e18e02
Update the -- now quite big -- list of unsupported Linux options.
2010-05-04 06:13:43 +00:00
jruoho
26a87898ae
Fix previous commit by also moving the type of _malloc_options. In addition,
...
add a (commented) note that _malloc_message should be documented better.
2010-05-03 08:23:20 +00:00
jruoho
60d71be703
Move the '_malloc_options' variable from malloc(3) to jemalloc(3).
2010-05-03 08:11:57 +00:00
jruoho
49bb3cb02e
Note the problems with SSP.
2010-05-03 06:11:38 +00:00
jruoho
40c884b1c3
Note secure_path(3) in SEE ALSO.
2010-05-03 05:53:56 +00:00
jruoho
ef40c024f6
Move the examples to where they belong, in EXAMPLES.
2010-05-03 05:11:34 +00:00
jruoho
26e9ae259a
Split the implementation details of malloc(3) to a separate jemalloc(3)
...
manual page. This way malloc(3) can follow the standard terse format used
elsewhere in the libc, while additional details can be added to jemalloc(3).
Note HISTORY and AUTHORS in jemalloc(3), and add some reading material to
SEE ALSO.
2010-05-03 05:01:53 +00:00
jruoho
a80a543b80
Add more markup.
2010-05-03 03:47:51 +00:00
jruoho
280488d6bc
Note that the return type sould arguably be intmax_t instead of long long.
2010-05-01 08:35:52 +00:00
jruoho
061351141b
Remove the (incorrect) note about inconsistent return values. Name the exit
...
code as EXIT_FAILURE instead of integer 1.
2010-05-01 08:30:00 +00:00
jruoho
413ef23a32
Add more bugs. Namely, besides the return values that are confusing, no
...
function in a modern standard C library, exposed by <stdlib.h>, should be as
easy to (buffer) overflow as strsuftollx(3).
In addition, improvements to wording and markup.
2010-05-01 08:12:30 +00:00
jruoho
4519228649
Improvements to wording and markup.
...
In addition, list more bugs and caveats. Namely, the NetBSD implementation
(like the FreeBSD one where this was ported to) requires that the comparison
keys are allocated dynamically, and that hdestroy() will try to free(3) each
key. This obviously severely limits the portability, given that other
implementations (for example, the Linux one) make no such assumptions. Both
approaches are legitimate, and thus the real bug is in the ambiguity of the
standard.
2010-05-01 06:18:03 +00:00
jruoho
a293ac8fcc
Rewrite the HISTORY section.
2010-04-30 10:24:02 +00:00
jruoho
eecb0b5e2c
Put the period outside the quotation marks.
2010-04-30 10:09:23 +00:00
jruoho
cb375ee477
Add STANDARDS and CAVEATS. The latter notes the ambiguity of tdelete() when
...
deleting the root node.
2010-04-30 10:06:52 +00:00
jruoho
68cb312101
Remove the note about eaccess(); no such thing in NetBSD.
2010-04-30 09:41:59 +00:00
jruoho
42e4725801
Also: in the example EOVERFLOW is probably better than ENOMEM.
2010-04-30 07:16:35 +00:00
jruoho
67e69a6bf8
As err(3) instructs, use EXIT_FAILURE in the example.
2010-04-30 07:14:15 +00:00
jruoho
75d4d306c5
Steal the "malloc() vs. calloc()" -idiom from the OpenBSD's malloc(3).
...
While it may be debated how useful this is, good idiomatic usage examples
are exactly the kind of thing one would hope to see more in manual pages.
2010-04-30 07:00:51 +00:00
wiz
779fbbb100
Wording.
2010-04-30 06:54:16 +00:00
wiz
5a5627574d
Sort errors.
2010-04-30 06:51:52 +00:00
wiz
0264ec21bd
Merge two entries for the same error.
2010-04-30 06:48:20 +00:00
jruoho
54f0f8584b
Use a SECURITY CONSIDERATIONS instead of the BUGS section, and steal this
...
section from FreeBSD (with minor modifications).
2010-04-30 06:34:23 +00:00