jruoho
f08e16091d
Note that rest of the functions come from C99.
2010-05-03 05:35:58 +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
pooka
d16346a23e
If P2K_DEBUG is given, also dump rump kernel event counters when
...
file system is unmounted.
2010-05-01 14:44:48 +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
jruoho
1ad0e6c25b
Put SECURITY CONSIDERATIONS as the last section.
2010-04-30 06:23:56 +00:00
jruoho
2f941c83c7
Fix the mess in the sections; someone went to sleep in the middle of a
...
sentence...
2010-04-30 06:22:28 +00:00
jruoho
b0e9ddf609
They've finally made gets(3) obsolete (in POSIX, at least).
2010-04-30 06:00:14 +00:00
jruoho
1b80a21f09
Add HISTORY.
2010-04-30 05:56:14 +00:00
jruoho
fba71b9825
Marked as legacy already in SUSv2; removed in POSIX 2001.
2010-04-30 05:50:46 +00:00
jruoho
d307542670
Deprecated in POSIX (rev. 2008).
2010-04-30 05:09:23 +00:00
jruoho
4078f3e9d1
Also tmpnam(3) and tempnam(3) are now obsolete in POSIX.
2010-04-30 04:55:10 +00:00
jruoho
92370ee67d
Interestingly, the committees plan to remove also isascii(3) and toascii(3)
...
in the future.
2010-04-30 04:46:18 +00:00
jruoho
70d2311835
More obsolete things. These are all already deprecated in NetBSD, but it is
...
worth noting that also the standard has marked these as legacy.
2010-04-30 04:39:16 +00:00
jruoho
a2ebffc113
Reference timeradd(3).
2010-04-30 04:17:45 +00:00
jruoho
eccc1c42e1
Add STANDARDS section. Note that both functions were marked as obsolescent
...
in POSIX (2008); "timer_gettime(2) and timer_settime(2) should be used".
2010-04-30 04:15:49 +00:00
jruoho
71a03dd7f6
Small improvements to wording and markup.
2010-04-30 04:06:20 +00:00
jruoho
c6d218be32
.Nm -> .Fn.
2010-04-30 03:52:13 +00:00
pooka
30df4c9f8c
If vfstype is MOUNT_RUMPFS, assume we don't actually want to mount
...
a file system, but attach to the root in the fs namespace of a rump
kernel.
2010-04-29 22:34:21 +00:00
jruoho
ec4fdaa41e
It was nice to expect fts(3) to appear in the '88 revision. But perhaps
...
people had too high hopes.
2010-04-29 17:39:03 +00:00
jruoho
934551e44a
No more usleep(3) in POSIX; "use nanosleep(2) instead".
2010-04-29 17:29:56 +00:00
jruoho
6adec4717c
Fix markup.
2010-04-29 17:17:18 +00:00
jruoho
3d0a5d8f1c
Note that also POSIX has deprecated utime(3).
2010-04-29 17:07:00 +00:00
jruoho
648a1295d8
Fix the standards: utimes(2) is still in SUSv4, although marked as legacy.
2010-04-29 17:02:38 +00:00
jruoho
61564b38a1
Note the ambiguity of the return value in the BUGS section.
...
From Christian Biere <christianbiere@gmx.de> in PR #39392 .
2010-04-29 10:03:12 +00:00
joerg
79b996cbc6
Don't mix opening and closing macros of different types.
2010-04-29 08:35:03 +00:00
jruoho
c25207d763
Note POSIX compliance.
2010-04-29 08:06:21 +00:00
wiz
0c57838d7b
Sort errors.
2010-04-29 07:31:02 +00:00
wiz
3292536e4b
Add punctuation.
2010-04-29 07:27:30 +00:00
wiz
a917229f2a
Improve a sentence.
2010-04-29 07:26:39 +00:00
jruoho
c792ab3e8e
Note that utimes(2) no longer enjoys the blessing of POSIX.
2010-04-29 07:14:35 +00:00
jruoho
157d0c3eea
Add some STANDARDS lingo, mainly to note the functions that have been
...
removed from POSIX (2008).
2010-04-29 06:54:26 +00:00
jruoho
c329b28a22
Properly mark the standard that "deprecated" all of these.
2010-04-29 06:07:35 +00:00
jruoho
8cd9bb9479
Note the recent changes.
2010-04-29 05:42:04 +00:00
jruoho
092ff05778
Note that the ucontext(2) et. al. were first moved from X/OPEN extensions to
...
the base POSIX-2001 and later marked as obsolete in POSIX-2008.
2010-04-28 14:07:03 +00:00
jruoho
2da6d4a4d9
Only put the actual header for the .In line.
2010-04-28 07:47:09 +00:00
jruoho
494f19760f
Reference ffs32(3). Also note POSIX compliance and the movement of the
...
header from <string.h> to <strings.h>.
2010-04-28 07:44:04 +00:00
pooka
db171f695e
Add rumpuser interface to fetch number of host cpus.
2010-04-28 00:33:45 +00:00
jruoho
fca63cde02
Note POSIX compliance.
2010-04-27 15:26:59 +00:00
jruoho
4efab6a05e
Use .In for includes and .Va when listing the structure members.
2010-04-27 15:16:28 +00:00
jruoho
5430c65883
.Pp after .Ed.
2010-04-27 14:26:52 +00:00
wiz
eba2c99734
Various fixes, mostly for typos.
2010-04-25 10:32:44 +00:00
joerg
b9cf7d31ab
Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).
...
They implement a space efficent write-once database with fast access
path. Switch the services(5) database to use cdb. The size of the
database file decreases from 2.1MB disk space to 307KB. Access
performance is about the same if setservent(0) is used and about an
order of magnitude faster otherwise. services_mkdb defaults to the new
format, but can optionally create the old db(3) format as well for
statically linked legacy applications.
2010-04-25 00:54:44 +00:00
dholland
df62afc03b
Edit previous HISTORY patch for style; note our 64-bit time_t change.
...
Bump date.
2010-04-24 01:35:50 +00:00
drochner
d4def06880
-build ldexp/frexp/modf locally again rather than relying on libc
...
reaching over, to get things into a sane state,
-do the usual namespace protection game with scalbn(f) because it
is used internally
(more symbol renamings are necessary)
The weak_alias change for mc68881 is untested.
2010-04-23 19:17:07 +00:00
drochner
87941501db
use the local versions of ldexp/frexp/modf again rather than pulling
...
in libm source code. The libm functions depend on other libm functions,
this requires symbol renaming, and with the reachover method this
is going to be a mess. Also, bundling the dependencies into one .o
file has the potential to cause symbol conflicts on static linking.
2010-04-23 19:04:54 +00:00
jruoho
829390ffbf
gcc -> GCC, offset indent.
2010-04-22 13:41:40 +00:00
jruoho
69cf4af7f3
Use .In for includes.
2010-04-22 08:00:34 +00:00
pooka
a08942d291
Actually, support rumpuser_kill() only on NetBSD, since signal
...
numbers may not match on non-NetBSD hosts.
2010-04-21 11:16:41 +00:00
pooka
3cc6a65772
Add rumpuser_kill, which sends a signal to a host process.
2010-04-21 11:13:29 +00:00
christos
ca8b6091c1
Use the same hack for Solaris and MacOS/X. This is not right, we only really
...
support UTF-8, but it will get us going until this is fixed properly.
From Jess Thrysoee
2010-04-20 02:01:13 +00:00
christos
72c00e4a7a
\033 is more portable than \e still.
2010-04-18 21:17:47 +00:00
christos
df810c5405
ffs needs strings.h
2010-04-18 21:17:22 +00:00
christos
d29e250074
shame on solaris that is the last OS not supporting $()
2010-04-18 21:17:05 +00:00
apb
67ca6b24d2
The number of byte pairs to swap is len/2, not len/2+1.
2010-04-18 11:39:39 +00:00
apb
fa3abaaeb7
Bitwise operations on signed types are well-defined if the values
...
happen to be positive, and indeed the values here were guaranteed
to be positive, but some compilers complained anyway, so convert
the bitwise operations to arithmetic operations.
2010-04-18 10:51:33 +00:00
christos
d403570167
simplify
2010-04-18 04:54:33 +00:00
christos
665a4f86a1
fix lint
2010-04-17 21:42:43 +00:00
wiz
96a3ffaf7c
Remove trailing whitespace.
2010-04-17 20:29:20 +00:00
wiz
8cd16a22d0
Join URL.
2010-04-17 20:28:47 +00:00
christos
885d0edc52
Change and document for POSIX compliance.
2010-04-17 17:57:39 +00:00
christos
b2cf198a4c
add restrict
2010-04-17 17:50:13 +00:00
jruoho
6d890644fe
Use the common template for the USENIX paper. Add URL.
2010-04-17 10:08:21 +00:00
christos
839bac947e
From Jess Thrysoee
...
- Fix wint_t to Int confusion
2010-04-15 00:57:33 +00:00
christos
5443e9b772
From Jess Thrysoee
...
- use nl_langinfo to test for UTF-8, because some locales are UTF-8 without
reflecting it in their names.
2010-04-15 00:56:40 +00:00
christos
a5b37ffc65
From Jess Thrysoee
...
expose ct_enc_width()
2010-04-15 00:55:57 +00:00
christos
939651fa2b
From Jess Thrysoee
...
- NARROW_HISTORY and IGNORE_EXTCHARS should not take effect if locale is UTF-8
- account for multi byte char length in
2010-04-15 00:52:48 +00:00
christos
b77d4fa5c5
From Jess Thrysoee: call setlocale so we can test UTF-8
2010-04-15 00:50:46 +00:00
christos
a9dd944f6b
From Jess Thrysoee: add ifndef around def of _GNU_SOURCE
2010-04-15 00:50:03 +00:00
pooka
2734e549f0
Some _t purification. no functional change.
2010-04-14 14:15:48 +00:00
wiz
24e353786d
Join URL.
2010-04-14 13:07:19 +00:00
jruoho
16a83e93ba
Add the USENIX paper of Miller and de Raadt to SEE ALSO.
2010-04-14 11:07:20 +00:00
wiz
3877f39979
Sort ERRORS.
2010-04-14 09:10:30 +00:00
jruoho
99e0ab963b
Use a list and sort it by the entries in the structure.
2010-04-14 09:06:00 +00:00
jruoho
354bfa433d
Add offsets to the indentation in couple of places.
2010-04-14 08:57:21 +00:00
jruoho
8e36ebc45f
Bump date for previous. (How hard can it be to remember this.)
2010-04-14 08:49:49 +00:00
jruoho
85eede30d6
Use subtitles instead of a list.
2010-04-14 08:47:19 +00:00
njoly
378ab16605
Add missing double quote.
2010-04-14 07:20:27 +00:00
wiz
957fbddadb
Uncomment pdf link for paper.
2010-04-13 10:45:46 +00:00
jruoho
175f8fdaa8
Add the USENIX paper of Jonathan Lemon to SEE ALSO.
2010-04-13 09:24:09 +00:00
wiz
e80bcec341
New sentence, new line. Sort errors. Remove trailing whitespace.
2010-04-06 14:26:59 +00:00
christos
ca843a73b0
PR/43128: Paul Koning: Threads support in ptrace() is insufficient for gdb to
...
debug threaded live apps: Add an optional lwpid in PT_STEP and PT_CONTINUE to
indicate which lwp to operate on, and implement the glue required to make it
work.
2010-04-06 13:50:22 +00:00
joerg
20fc76af98
Fix escape sequences
2010-04-05 21:35:36 +00:00
joerg
727da1104c
\\ -> \e
2010-04-05 21:33:54 +00:00
joerg
ffec7f50c0
Fix escape sequences
2010-04-05 21:33:25 +00:00