itojun
0b3c3042e6
inet6_rthdr_reverse() is not implemented yet.
1999-12-12 14:59:09 +00:00
itojun
c3f65850fd
wording fixes (from openbsd camp -> kame)
1999-12-12 11:21:04 +00:00
itojun
a57d497906
add manpage for inet6_{option,rthdr}_*.
1999-12-12 11:20:03 +00:00
msaitoh
3b476f4adb
use .Er
1999-12-11 19:35:48 +00:00
explorer
cda5601f3c
revert this file, the changes I made were quite unnecessary.
1999-12-10 17:27:28 +00:00
wennmach
19e89641c1
Back out last change; now vis takes care not to produce ambigous
...
encodings.
1999-12-07 18:26:27 +00:00
wennmach
12c643233f
In SVIS, encode all characters on the extra list either in C-style
...
fashion (if possible) or as octal representation (else).
1999-12-07 18:20:28 +00:00
explorer
5bfb624265
Put the function prototype back. Grr.
1999-12-03 23:34:41 +00:00
explorer
bb10ce81bd
Do this a bit differently.
...
On platforms where we can use weak aliases, use
__weak_alias(__errno, __errno_func);
and on platforms where we cannot, just compile the function as
__errno, since on those platforms we cannot make libc thread-safe,
at least using this trick.
Are there any platforms where we cannot do __weak_alias() anymore?
1999-12-03 23:31:20 +00:00
explorer
c9227efe70
Make __errno() be a weak alias for __errno_func(), so thread packages
...
can actually override what plain old 'errno' looks like.
1999-12-03 23:24:33 +00:00
explorer
179a2df725
add. This holds the global __isthreaded variable, to indicate that threading
...
is (or is not) present.
1999-12-03 06:37:34 +00:00
explorer
7d1b0fabbc
typo
1999-12-03 06:36:55 +00:00
kleink
15be242b3a
Add a LIBRARY section to system call manual pages. While it's clear that the
...
libraries contain stubs only (with minor exceptions a la pipe(2)), the purpose
of this section is to provide linkage information.
1999-12-02 21:42:35 +00:00
kleink
087b539e0f
Change the declaration of the argv argument to getopt(3) from "char * const *"
...
(as originally declared in System V) to "char * const []", as was done in
1003.2 and subsequently propagated into XPG4.
From Andrew Cagney in PR lib/8930.
1999-12-02 13:15:55 +00:00
wennmach
cc928e80ae
Make unvis and strunvis grok strings produced by svis et al.
1999-12-01 22:03:43 +00:00
thorpej
22b2fb0830
Document the 64-bit XDR routines that Sun also documents. This manual
...
page needs a lot of help:
- restructure it into xdr_admin(3), xdr_complex(3), xdr_create(3), and
xdr_simple(3), as is done in Solaris.
- rewrite in mandoc, and document all of the XDR primitives that NetBSD
actually supplies.
1999-12-01 19:00:23 +00:00
thorpej
858fdb2362
minor++; added XDR routines for 64-bit integer data types
1999-12-01 18:35:15 +00:00
thorpej
0bbf216692
Implement XDR routines for 64-bit integer data types:
...
- xdr_int64_t(), xdr_u_int64_t(), per NetBSD convention.
- xdr_hyper(), xdr_u_hyper(), xdr_longlong_t(), xdr_u_longlong_t(), a'la
Solaris, implemented in terms of the above.
1999-12-01 18:34:21 +00:00
kleink
d574ffc673
(bcopy, bzero) -> (memcpy, memset)
1999-11-30 15:55:25 +00:00
hubertf
35c835cfe4
You also need <rpc/rpc.h> to compile yp programs.
...
Noted in PR 8919 by Tom Spindler <dogcow@redback.com>
1999-11-29 23:28:23 +00:00
wennmach
c70c65e8a1
Suggested by christos:
...
o unexpand spaces to tabs
o don't initialize non-static array extra[]; \0 terminate extra[]
using an explicit assignment instead
1999-11-28 22:51:37 +00:00
lukem
2468bbbf42
don't use err(); instead pass an error condition back to a higher
...
layer to warn() about.
1999-11-28 05:46:15 +00:00
lukem
a8d12b09cd
* check the result of sl_init() and sl_add()
...
* return an error state back up the call chain and take appropriate
action, rather than calling err() to terminate the process
1999-11-28 04:30:15 +00:00
lukem
56a2dec5a5
* check the error return of sl_init() and sl_add()
...
* minor KNF
1999-11-28 04:00:04 +00:00
lukem
67fecdbace
remove unnecessary exit() after err()
1999-11-28 03:47:24 +00:00
lukem
46a687b139
* sl_init(); if malloc() fails return NULL instead of calling err(1,...)
...
* sl_add(); if realloc() fails return -1 instead of calling err(1,...).
otherwise, return 0.
NOTE: this change resulted in sl_add() changing from returning void to int.
this shouldn't be a problem because a) it returns 0 if ok (aka `void', b)
all invokers of sl_add() in the tree have been changed (mainly code i've
written).
1999-11-28 03:44:09 +00:00
lukem
9f731168f6
convert to TNFi copyright (requested by christos)
1999-11-27 06:19:32 +00:00
msaitoh
4e87e41c66
check __sh3__
1999-11-26 07:39:45 +00:00
wennmach
d775c4b047
Bump minor
1999-11-25 22:09:37 +00:00
wennmach
7b7d5b8b06
Added #defines for svis, strsvis, strsvisx
1999-11-25 16:54:15 +00:00
wennmach
6a041e3a5d
Added description of svis, strsvis, strsvisx.
...
Fixed several minor errors concerning vis, strvis, strvisx, tyops.
1999-11-25 16:52:29 +00:00
wennmach
5f9f80b825
Added new functions
...
char *
svis(char *dst, int c, int flag, int nextc, const char *extra);
int
strsvis(char *dst, const char *src, int flag, const char *extra);
int
strsvisx(char *dst, const char *src, size_t len, int flag,
const char *extra);
These functions correspond to vis(), strvis(), and strvisx() but have an
additional argument extra, pointing to a NUL terminated list of characters.
These characters will be copied encoded or backslash-escaped into dst. These
functions are useful e. g. to remove the special meaning of certain
characters to shells.
To implement the new functions, vis underwent a major rewrite. Most functions
now use a central macro, SVIS. Performance increase ~ factor 2.
Reviewed by Christos.
1999-11-25 16:50:06 +00:00
kristerw
1276709f38
Typos (from OpenBSD)
1999-11-19 23:29:45 +00:00
enami
82d7115cf2
Don't pass so many args to .Nd macro. It just overflows.
1999-11-19 01:12:39 +00:00
is
42f95dd899
In case of an error returned by sysctl, and errno=ENOMEM, restore the
...
old errno and return 0. This makes us complant with SUSV2 and our own
manual page. See PR pr7836 by Simon Burge.
1999-11-18 22:12:53 +00:00
wennmach
2d27a472c9
Add some casts to u_char to get vis working again for characters > 0177
...
in VIS_OCTAL mode. Also, change the mask for the most significant tribble
to 03.
Reviewed by christos.
Fixes PR 8802.
1999-11-17 15:52:13 +00:00
kleink
e092d92063
Merge tzcode1999i.
1999-11-16 22:41:02 +00:00
matthias
87bb3a7b2b
make this work again with -mrtd.
1999-11-16 18:16:53 +00:00
fvdl
6ba2ea78f7
Bump minor because of struct statfs change (no ABI change, though).
1999-11-15 19:23:20 +00:00
explorer
3dde14339c
add stub thread functions. These are not (yet) used, and always return
...
success. They are weak-aliased, so if linked with a real pthreads library
the correct magic will happen.
1999-11-14 18:34:15 +00:00
explorer
5e5a72ffef
missing ;
1999-11-14 18:19:57 +00:00
is
bcb4c98ba9
Properly check for overflows. Fixes PR8314 as annotated by mjl.
1999-11-13 04:52:50 +00:00
jdolecek
894f4bc996
add freeaddrinfo(3) and gai_strerror(3) as links to getaddrinfo(3)
1999-11-10 22:41:00 +00:00
kleink
ae7e338dbb
Merge tzcode1999h.
1999-11-10 20:32:30 +00:00
kleink
48e66c2b14
XSH5/C99: in the C/POSIX locale, change the day of month format used in d_t_fmt
...
(locale's appropriate date and time representation) from %d (single digits
are preceded by 0) to %e (single digits are preceded by a blank).
1999-11-10 09:15:11 +00:00
lukem
e0c4130ae6
use .Fn appropriately
1999-11-07 01:26:02 +00:00
erh
20678a0621
PR 5057 - fix %k to print a 0, not just spaces. (%e too). Patch from NAKAJIMA Yoshihiro.
1999-11-05 19:21:12 +00:00
erh
6752f572d8
Remove ELFNAME defines since they are defined in sys/exec_elf.h
1999-11-04 02:00:17 +00:00
is
94efbddebd
Check for invalid component numbers (wrong hex "digits", octal numbers
...
with digits of 8 or 9) and complain. Fixes PR 8314 by ITOH Yasufumi (but
adding the check of hexadecimal numbers).
1999-11-03 11:47:02 +00:00
is
cff7bedd54
Actually profile system calls.
...
Problem and most of the fix reported by Anders Hjalmarsson in PR 4976; libposix
mentioned by Chris G. Demetriou.
1999-10-27 14:58:28 +00:00