christos
5bc6f3f69d
deal with buffer overflows for fixed length buffers.
2001-03-28 22:13:06 +00:00
christos
6f6e7c44eb
KNF. no functional differences.
2001-03-28 21:16:48 +00:00
itojun
4b72eeeee5
net.inet.ip.maxfragpackets defines the maximum size of ip reass queue
...
(prevents fragment flood from chewing up mbuf memory space).
derived from KAME net.inet6.ip6.maxfragpackets.
2001-03-27 02:24:38 +00:00
cgd
1da7909939
clean up a bit, xref exit(3), and suggest use of EXIT_FAILURE.
2001-03-22 01:47:17 +00:00
christos
317bb0ea2f
set gl_pathv to NULL after we free it.
2001-03-18 22:40:20 +00:00
christos
93b3db97f3
limit the amount of memory used, not the number of arguments used.
2001-03-16 21:09:05 +00:00
christos
f913546a2e
Implement GLOB_LIMIT that limits number of matches to ARG_MAX.
2001-03-16 20:34:08 +00:00
lukem
c9cccc1354
reference <stdarg.h> not <varargs.h>, and separate out the synopsis
...
for vsyslog(3) from the rest after <stdarg.h>, as per printf(3)/vsprintf(3)
2001-03-14 06:12:35 +00:00
simonb
61bb060b34
Include <string.h> for memcpy() prototype.
2001-03-12 03:20:10 +00:00
cgd
b42009b570
actually, don't define SHQUOTE_USE_MULTIBYTE
2001-03-10 22:37:54 +00:00
christos
fc701562b4
make these lint properly.
...
1. don't use MB_CUR_MAX, but MB_LEN_MAX because MB_CUR_MAX is a variable.
2. return a size_t type.
3. added const cond on do while macros.
4. remove unused variables and code,
2001-03-10 20:54:53 +00:00
cgd
360514740c
Add shquote() and shquotev(). From the manual page:
...
The shquote() and shquotev() functions copy strings and transform the
copies by adding shell escape and quoting characters. They are used to
encapsulate arguments to be included in command strings passed to the
system() and popen() functions, so that the arguments will have the cor-
rect values after being evaluated by the shell.
2001-03-10 01:51:49 +00:00
cgd
82f3142780
fix NetBSD RCS id tags
2001-02-27 19:04:39 +00:00
cgd
6ec85a49fd
nuke a last-minute addition in the getprogname() cleanup that didn't work.
2001-02-20 01:17:37 +00:00
cgd
6b25d77513
convert from __progname to getprogname()
2001-02-19 22:22:16 +00:00
cgd
337d03ef63
add cross-reff to getprogname(3)
2001-02-19 22:20:15 +00:00
cgd
dd482e4f34
add getprogname() and setprogname()
2001-02-19 22:14:20 +00:00
cgd
21202a2cb3
add getprogname() and setprogname(). These allow uses of __progname to
...
be wrapped in some sane fashion, for portability.
2001-02-19 22:13:23 +00:00
bjh21
d47ff437ed
Make both ARM ports support both NLIST_AOUT and NLIST_ELF32.
2001-02-17 21:18:40 +00:00
briggs
4d91dcef0e
Remove extra #include.
2001-02-10 05:36:35 +00:00
itojun
109fcc5522
implement upper limit to icmp6 redirects (experimental, turned off)
...
negative value to {mtudisc,redirect}_{hi,lo}wat will turn off the limitation.
sync with kame.
2001-02-08 16:07:39 +00:00
itojun
22b473e0f6
during ip6/icmp6 inbound packet processing, do not call log() nor printf() in
...
normal operation (/var can get filled up by flodding bogus packets).
sysctl net.inet6.icmp6.nd6_debug will turn on diagnostic messages.
(#define ND6_DEBUG will turn it on by default)
improve stats in ND6 code.
lots of synchronziation with kame (including comments and cometic ones).
2001-02-07 08:59:47 +00:00
hubertf
44d7ee0289
* Document the vendor.* sysctl branch
...
* in sysctl.3, sort the list of CTL_ prefixes and sync with sysctl.h
2001-01-10 03:03:02 +00:00
lukem
aa330a1e25
* Change __diagassert13() so that by default it only syslogs the error (it
...
used to syslog and also send to stderr).
This behaviour can be changed by setting $LIBC_DIAGASSERT to a
string containing one or more of the following letters:
a abort() after syslog and/or print to stderr
A opposite of a
e print assertion message to stderr
E opposite of e
l log assertion message to syslog
L opposite of l
This allows per-process control of the _DIAGASSERT() behaviour (e.g,
if you want to abort() after the assertion is raised) by modifying the
environment before starting the process.
Note that __DIAGASSERT() is still a no-op unless libc is compiled
with -D_DIAGNOSTIC.
* Implement __assert()/__diagassert() by calling __assert13()/__diagassert13()
with a function of NULL, reducing unnecessary code duplication
2001-01-03 12:44:53 +00:00
martin
7c10055175
Be consistent with argument types vs. prototype; use _BSD_VA_LIST_ as
...
the argument, instead of va_list. Might not make a difference on most
ports, depending on toolchain/MD typedefs. Does make a difference on sparc64,
where it wouldn't compile otherwise.
2000-12-30 16:27:33 +00:00
itojun
8f5f80ebfe
document net.inet6.icmp6.mtudisc_{lo,hi}wat.
2000-12-21 01:10:52 +00:00
christos
c9f588eab4
fix nested extern
2000-12-20 20:54:30 +00:00
christos
5b7386b25e
fix missing formatting escape.
2000-12-19 21:17:16 +00:00
kleink
f02540ff10
C99: Print the name of the function enclosing the assertion, if possible.
2000-12-19 14:32:59 +00:00
lukem
741ea8dc94
fix typo in _nis_grscan(). "if (data); free(data);" -> "if (data) free(data);"
...
noted by Jacques Vidrine <nectar@FreeBSD.org>
2000-12-17 22:09:12 +00:00
briggs
9875721d50
Fix an old typo: s/ket_t/key_t/
2000-12-12 17:07:49 +00:00
christos
f92dc9c439
unnest nested extern declaration.
2000-12-10 03:59:00 +00:00
christos
a2df081a7e
-Wredundant-declarations does not like nested extern declarations.
2000-12-10 03:52:16 +00:00
matt
f1ac0dd6e1
The prototype for fmtcheck is in <stdio.h> so we'd better include it.
2000-11-16 02:10:18 +00:00
lukem
279552d3db
fix up various .Nm abuses:
...
- keep the case consistent between the actual name and what's referenced.
e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
using `.Nm ""' if there's stuff following, or for the 2nd and so on
occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
christos
119c9cb003
add a lint comment.
2000-11-05 20:05:29 +00:00
briggs
2c5b165052
fmtcheck() should be declared as fmtcheck(), not __fmtcheck().
...
The weak_alias is __fmtcheck(). matt@3am-software.com pointed this out
as a problem when trying to build on a vax.
2000-11-01 01:17:20 +00:00
jdolecek
1c7d8af31d
rewrite KERN_MAXPTYS description to match reality
2000-10-26 07:24:00 +00:00
briggs
d00ebb12e9
Add {__,}fmtcheck(), a function specified by Bill Sommerfeld to check
...
a user-supplied format string against a fallback format string to ensure
that they will consume arguments of the same type.
libc minor bump for new API entry point.
2000-10-20 18:46:05 +00:00
erh
2686020623
Squash lint errors by using size_t instead of u_int to avoid differing sizes of data.
2000-10-16 04:12:55 +00:00
enami
32554376a3
Reset allocated buffer size to 0 on allocation failure.
2000-10-03 03:22:26 +00:00
simonb
cac9995776
Fix potential buffer overflow processing long password database entries.
...
Inspired by similar OpenBSD change.
2000-10-02 19:25:32 +00:00
msaitoh
f9b799b651
check LIBC_SCCS
2000-09-13 22:32:25 +00:00
jdolecek
f973bb5351
document kern.maxptys/KERN_MAXPTYS
...
note that kern.maxvnodes is raise only
2000-09-09 17:06:34 +00:00
wennmach
821c7e766b
Added MLINKS for svis, strsvis, and strsvisx
2000-08-29 10:49:09 +00:00
kleink
051d885a24
{OPEN_MAX} does not apply to a user but a single process; noticed by Brook
...
Milligan on current-users.
2000-08-29 06:38:23 +00:00
itojun
152da24bd9
implement net.inet6.ip6.{anon,low}port{min,max} sysctl variable.
2000-08-26 11:03:45 +00:00
itojun
3c7320bedf
document net.inet.ip.lowport{min,max}
2000-08-26 11:00:41 +00:00
soren
7eaf9092e8
Typo.
2000-08-21 23:23:23 +00:00
enami
630f9b81c9
- Test allocation failure.
...
- Don't leave a pointer dangling on failure case.
- Don't leak a file descriptor on failure case.
2000-08-07 06:08:33 +00:00
enami
2e68d337ae
Nuke redundant test (though, gcc optimizer was clever enough not to emit
...
redundant code).
2000-08-07 06:00:59 +00:00
enami
d753bcdd59
- Wrap long lines.
...
- Protect multi-statement macro with do {} while (0)
2000-08-07 05:56:11 +00:00
kml
782cdefc52
Correct the documentation for SACK; although we have some preliminary
...
code in the tree, it doesn't do anything, and setting the sack sysctl
won't have any effect.
2000-08-04 13:31:54 +00:00
itojun
951f2bac77
pps rate limitation can be turned off by negative value.
2000-08-02 12:26:54 +00:00
itojun
1048b82bf1
nuke net.inet*.ip*.*ratelimit.
2000-07-28 04:08:44 +00:00
itojun
348dcd5529
add net.inet.tcp.rstppslimit
2000-07-27 11:37:46 +00:00
ad
682d5ce7b8
Xr passwd.conf
2000-07-11 12:12:53 +00:00
itojun
6ab897e3e4
document sysctl variable "net.inet.icmp.errppslimit".
2000-07-10 09:34:38 +00:00
itojun
f39dc46bcd
add desription for net.inet6.icmp6.{errppslimit,nd6_maxnudhint}.
2000-07-09 13:29:44 +00:00
itohy
7daefc5a5a
Passing "char" values to ctype(3) functions is problematic.
...
If an argument of a ctype function is outside "unsigned char"
and if it is not EOF, the behavior is undefined.
The isascii(3) is the sole exception of above and it was used to
be used to check a value was valid for other ctype functions in
ancient systems. On modern systems, the ctype functions take
all values of "unsigned char", and this check is obsolete and
even wrong for non-ASCII systems. However, we leave the isascii()
untouched for now, so as not to change the current behavior.
2000-07-07 08:03:36 +00:00
christos
a74cfaaa6e
mark the prototype mismatch as linted. We cannot do better because of the
...
widening ansi rules.
2000-07-06 02:49:41 +00:00
msaitoh
f6f00e2615
remove extra period in SEE ALL section
2000-07-05 15:45:28 +00:00
enami
a6af5d3169
- One more s/vm/uvm/ substitution.
...
- Sort SEE ALSO list first by section.
2000-07-03 06:23:33 +00:00
mrg
c293541954
remove include of <vm/vm.h>
2000-06-29 06:31:44 +00:00
thorpej
445d18ed28
Implement FNM_CASEFOLD, for matching the pattern in a case-insensitive
...
way. Flag name taken from glibc.
2000-06-28 01:13:35 +00:00
mrg
a461faa506
<vm/vm_param.h> is now <uvm/uvm_param.h>
2000-06-27 09:10:24 +00:00
mrg
ad91bba6a6
we now need <uvm/uvm_param.h>
2000-06-26 15:37:26 +00:00
simonb
53cf69f2ef
Document KERN_MSGBUF sysctl.
2000-06-16 00:45:48 +00:00
cgd
db755e7c76
sweep of my licenses (userland files w/o only my copyright) for
...
consistency. (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3
fix up NetBSD RCS Ids to match the standard, and the leading comment as
...
to match as well. No functional changes.
2000-06-14 06:48:47 +00:00
simonb
8c57fd15f5
Bring a little closer to current reality - includes my recent sysctl
...
additions and well as a number of other small additions/changes/deletions.
2000-06-13 14:42:55 +00:00
simonb
695f4e86f5
Remove a bit of lint.
2000-06-09 16:22:54 +00:00
nathanw
44145e574e
Fix incorrect uses of indicate/indicates/indicated for each other.
2000-06-07 19:47:57 +00:00
simonb
ce00d9ac26
Add a cache ala pwcache(3). Gives a small but measurable performance
...
improvement for callers to devname(3) (eg ps(1)) under most circumstances.
2000-06-05 06:12:49 +00:00
simonb
991eedcaaf
Clarify the cache size description comments a little.
2000-06-03 13:21:14 +00:00
itojun
74d0ceb979
correct memory leak due to t_getstr() and realloc(). the commit will
...
prevent "top -s 0" from chewing up memory.
TODO: realloc() audit, revisit recent termcap/curses changes
2000-06-02 13:13:07 +00:00
itojun
922ffb6256
correct FILES section. mention IPv6/IPsec headers.
2000-05-23 12:35:34 +00:00
itojun
ff6b22b6fc
s/udp6.sendmax/udp6.sendspace/
2000-05-23 12:27:27 +00:00
itojun
7f92f9071a
correct table formatting for net.inet.*.
...
we do not have net.inet6.tcp6.
2000-05-22 15:13:05 +00:00
bouyer
215b7aab97
Use the same copyrigth notice everywhere.
2000-05-15 06:26:42 +00:00
bjh21
6c97e2bd78
Initial commit of arm26 port
2000-05-09 21:55:44 +00:00
mrg
dd28a6c6dd
make scandir(3)'s 3rd argument take a function that takes a *const*
...
struct dirent *, rather than non-const. this makes scandir(3) the
same as the scandir implementations in libiberty and glibc, and the
select function has no need to modify the dirent.
2000-04-16 14:43:56 +00:00
jdolecek
342890eff7
kill reference to getvfsbyname(3) - it's no longer present on NetBSD
2000-03-29 14:30:27 +00:00
kleink
fc34e21eac
Add an EILSEQ code (C99, first appeared in C90/AMD1), and update message
...
catalogs where possible.
2000-03-10 13:58:59 +00:00
itojun
959ca07b4b
add hw.alignbytes sysctl mib. this gives you the value of ALIGNBYTES
...
at the kernel compilation time (ALIGNBYTES that the kernel uses).
2000-02-27 06:13:35 +00:00
itojun
6a433be509
remove net.inet6.ip6.nd6_proxyall sysctl.
...
support "ndp -s <ip6> <mac> proxy" for proxy NDP.
2000-02-26 08:48:21 +00:00
kleink
2a62a2c565
Back out previous: when statically linking executables a warning will be
...
displayed for the reference through __errno(), which is really wrong.
2000-02-17 21:34:21 +00:00
thorpej
25ab915071
Note net.inet.icmp.errratelimit and net.inet.tcp.rstratelimit.
2000-02-15 19:59:02 +00:00
kleink
1d34d289cf
Arrange for a linker warning to be displayed when the errno datum is accessed
...
directly; inspired by a conversation with Havard Eidnes.
2000-02-13 21:13:01 +00:00
fair
bf004f04e9
Document KERN_LOGSIGEXIT.
...
sort sysctl variable list in sysctl.8
2000-02-06 07:31:23 +00:00
enami
6e75e4cb47
- Don't update the size of allocated storage until realloc successes.
...
- KNF left over.
2000-01-25 16:24:40 +00:00
enami
086a35e065
Use tab to indent.
2000-01-25 15:43:43 +00:00
ad
398257cba8
Change how the purpose of net.inet.tcp.log_refused is expressed so that it's
...
consistant with its neighbours.
2000-01-23 17:12:11 +00:00
mycroft
8c2a748a3c
Doh. Remove the __weak_alias() as well...
2000-01-23 07:37:47 +00:00
mycroft
c26054b799
Delint.
2000-01-22 22:40:58 +00:00
mycroft
605490369c
Delint.
...
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
2000-01-22 22:19:07 +00:00
enami
10749faeb1
- To detect realloc failure, need to check the value just returned by it.
...
- Free storage on realloc failure.
- Some cosmetic changes.
2000-01-20 03:15:04 +00:00
mycroft
66aa5b00fe
Use strtol() to check validity of numeric values, rather than
...
hand-coding it.
2000-01-20 02:53:46 +00:00
itojun
293e2f2a8c
warning about net.inet6.ip6.forwarding.
2000-01-19 12:30:12 +00:00
itojun
2e904aec57
make IPV6_BINDV6ONLY setsockopt available. it controls behavior of
...
AF_INET6 wildcard listening socket. heavily documented in ip6(4).
net.inet6.ip6.bindv6only defines default value. default is 1.
"options INET6_BINDV6ONLY" removes any code fragment that supports
IPV6_BINDV6ONLY == 0 case (not defopt'ed as use of this is rare).
2000-01-06 06:41:18 +00:00
itojun
97998ce539
wording fix in net.inet6.icmp6.errratelim.
2000-01-06 03:43:03 +00:00
itojun
9695855746
add missing variables under net.inet6.ip6.
2000-01-06 02:56:44 +00:00
msaitoh
40732a4308
nlist for COFF
2000-01-03 02:13:32 +00:00
itojun
07c2fe1cd9
add net.inet6.icmp6.nodeinfo sysctl.
...
this allows you to disable/enable ICMPv6 node information query/reply
processing (which tells remote end the gethostname(3) setting, interface
addresses on the node, and some other things - documented in
draft-ietf-ipngwg-icmp-name-lookup* or something alike).
to test it, try ping6 -w ::1 with nodeinfo=0 and nodeinfo=1.
(sync with kame change)
2000-01-02 16:31:17 +00:00
itojun
062c67829f
typo fix
2000-01-02 13:34:25 +00:00
itojun
14719f6549
document PF_INET6 items (net.inet6.*).
2000-01-01 18:00:56 +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
wennmach
cc928e80ae
Make unvis and strunvis grok strings produced by svis et al.
1999-12-01 22:03:43 +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
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
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
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
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
erh
6752f572d8
Remove ELFNAME defines since they are defined in sys/exec_elf.h
1999-11-04 02:00:17 +00:00
kleink
522cbf0248
Update to match new SVR4-style definition names in <sys/exec_elf.h>.
1999-10-25 13:55:06 +00:00
hannken
f991f0978c
Undo last change. While these macros are defined in exec_elf.h, they are
...
enclosed by `#ifdef _KERNEL'.
1999-10-22 10:10:36 +00:00
erh
3923b9d80e
Remove ELFNAME macros which are already defined in exec_elf.h.
1999-10-21 21:12:37 +00:00
jdolecek
1374533c20
document ddb.fromconsole & DBCTL_FROMCONSOLE, description taken from options(4)
1999-10-14 09:33:51 +00:00
kleink
b884980717
Fix some formatting mistakes of mine.
1999-10-11 11:03:27 +00:00
hwr
7115c003bd
Mention ipsec(4), as there are the ipsec mib variables documented.
1999-10-10 12:32:16 +00:00
jdolecek
d90b5ccdc7
rip off the signal list and xref signal(7) instead
1999-10-06 17:07:02 +00:00
bouyer
510907ed01
Document CTL_PROC, the core filename format it core(5), and xref sysctl(8),
...
sysctl(3), core(5) in various place.
Document 'options DEFCORENAME' inj options(4) and $defcorename in rc.conf(5).
1999-09-28 14:52:32 +00:00
kleink
4b8ee1f7d2
Move {XOPEN_SHM} from Commands & Utilities to System Interfaces.
1999-09-27 16:27:12 +00:00
kleink
c13a492388
1003.1c: add {LOGIN_NAME_MAX}.
1999-09-27 16:24:39 +00:00
jdolecek
8eb5a4184d
xref symlink(7)
1999-09-26 21:18:53 +00:00
lukem
d896261208
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
...
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
lukem
b48252f365
* use _DIAGASSERT() to check pointer arguments against NULL and file
...
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.
the first two items result in the addition of code similar to the
following in various functions:
_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif
1999-09-16 11:44:54 +00:00
lukem
d21225500f
revert previous (as per klaus). will diagassert() name == NULL check instead...
1999-09-16 11:36:19 +00:00
lukem
f385db7764
check name != NULL before checking name[0] != '\0'
1999-09-16 08:12:21 +00:00
lukem
8423dd3490
implement __diagassert(). currently this just prints the assertion to
...
stderr and syslog()s to user.debug. (it does not abort).
XXX: implement a scheme similar to $MALLOC_OPTIONS which gives the
user control over whether to stderr, syslog, abort, do nothing, etc...
1999-09-15 23:57:21 +00:00
kleink
7d2e8d6525
Add an XSH5 ulimit()/<ulimit.h> implementation.
1999-09-13 18:38:04 +00:00
kleink
d5cfef41b5
Add the inevitable __RCSID().
1999-09-13 18:36:02 +00:00
kleink
734b2b9b5e
Add an XSH5 fmtmsg() implementation.
1999-09-12 19:04:30 +00:00
kleink
ecaa1449b5
Move the function implementations of (the non-ANSI) isascii() and toascii()
...
into separate modules to avoid namespace clashes.
1999-09-12 18:54:34 +00:00
kleink
03126e1c99
Use full month names with .Dd, as per mdoc.samples(7).
1999-09-12 18:47:10 +00:00
proff
fb95c8ad2b
Document return values and bugs
1999-09-03 13:12:44 +00:00
mycroft
07ccaa3409
HUGE_VAL -> infinity
1999-08-29 18:55:29 +00:00
mycroft
3b800f4a61
Mention more of the special cases.
1999-08-29 18:52:18 +00:00
mycroft
9a255f2ff2
Readd my change from fts.c rev 1.10, which was incorrectly removed in rev 1.19
...
(HI CHRISTOS!):
Avoid extra stat()s if a link count of 1 is returned for directories but the
d_type field is filled in.
1999-08-27 21:10:46 +00:00
mycroft
4c9100d48f
Adjust fts_pow2() for LP64 before Ross bricks me.
1999-08-27 20:02:14 +00:00