Commit Graph

3973 Commits

Author SHA1 Message Date
kleink
b1cc53ab31 While I'm here, add a LIBRARY section.
XXX Someone should lift this to our mdoc.
2001-03-29 20:56:30 +00:00
kleink
49cc52fbf7 Declaration syntax nit. 2001-03-29 20:54:06 +00:00
kleink
8ca649a389 Sprinkle some restrict. 2001-03-29 19:06:39 +00:00
kleink
ad8586ad2d Fix printf format used in example; from Jim Bernard in PR lib/12496. 2001-03-29 18:50:59 +00:00
christos
c5da7a4cfa try to make this compile on 1.4.x 2001-03-28 22:53:40 +00:00
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
tshiozak
636743250b fix a bit bug. this bug normally causes no problem. 2001-03-26 20:06:46 +00:00
tshiozak
6c89983bd3 support nl_langinfo(CODESET). 2001-03-26 19:55:42 +00:00
kleink
346219c95f Sprinkle some restrict qualifiers. 2001-03-22 07:37:04 +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
cgd
e8c9c330a8 document EXIT_SUCCESS and EXIT_FAILURE, since they've been around
since ANSI and (for portability, since ANSI) in some circles they're
the preferred exit status codes.
2001-03-22 01:37:46 +00:00
kleink
77fbd9fe1c Sprinkle some restrict qualifiers. 2001-03-21 22:42:28 +00:00
augustss
7358f05060 Make this file lint. 2001-03-20 11:47:44 +00:00
atatat
432509762f Bump minor version to 73: MD2 was added. 2001-03-19 05:00:41 +00:00
atatat
3ddb3899a3 Add md2 routines to libc. 2001-03-19 04:13:16 +00:00
simonb
7512af6e5b Don't use a u_char array for a workspace that will be cast then accessed
as int's, as the array is not guaranteed to be int-aligned on the stack.
Use a CHAR64LONG16 type instead for the workspace, since the workspace
is accessed through that type anyway.

Fixes PR pkg/12417 from Andrew Brown.
2001-03-19 03:14:00 +00:00
christos
317bb0ea2f set gl_pathv to NULL after we free it. 2001-03-18 22:40:20 +00:00
pooka
b8116b5540 make prototypes match reality found in <sys/ktrace.h> 2001-03-18 21:51:11 +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
fair
fdd13acbc4 Correct typo in ERRORS, and document that getdents(2) can return
directory entries that refer to deleted files, all per PR 10567.
2001-03-16 07:58:24 +00:00
fair
0b6f011535 Add documentation of nmemb parameter, per PR 10567 2001-03-16 07:47:29 +00:00
fair
bee514872a Added the following text to answer PR 7249:
The manual page for each system call will list some of the
	common errno codes that system call can return, but that
	should not be considered an exhaustive list, i.e.  a properly
	written program should be able to gracefully recover from
	any error that a system call might return.  Documenting
	all the error codes that a system call can return in a more
	specification-like manner would take more resources than
	this project has available.
2001-03-16 06:56:48 +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
bjh21
d1fdb92ff8 Remove arm32-specific files from libc. NetBSD/arm32 now uses the generic
ARM sources in lib/libc/arch/arm.
2001-03-13 19:31:36 +00:00
ross
64846612a5 fix WARNS triggered by reachover makefile under regress 2001-03-13 08:15:14 +00:00
fair
4ca39aa709 Add a description of the special kernel thread "ioflush" to the "special
processes" section, per PR 10912. While we're here, clean up nroff nits,
like spaces at the ends of lines.
2001-03-13 03:24:13 +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
wiz
3da563eb15 Fix typo reported by Geoff C. Wing in pkg/12369. 2001-03-10 12:57:02 +00:00
cgd
7aeb4f4018 minor=72, for shquote()/shquotev(). 2001-03-10 01:53:14 +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
bjh21
6964bdfcad Re-instate __fixunssfsi() and __fixunsdfsi(), but only for arm32 with a.out
binaries, because libc's provided them there forever.
2001-03-08 18:56:19 +00:00
bjh21
328780b294 Leave selection of APCS mode to the compiler -- future versions of cpp will
get it right.

Always include new softfloat code -- it seems OK on arm32.
2001-03-07 00:49:48 +00:00
cgd
bc035adad9 update the date; pointed out by mycroft 2001-03-02 06:06:08 +00:00
cgd
21e6278642 don't forget the LIBRARY section 2001-03-02 04:52:08 +00:00
itojun
dea3f7103b it seems that gethostent(3) is no longer supplied in libc.
couple of wording corrections.
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
2001-02-28 02:30:31 +00:00
cgd
2eb1943575 make these more amenable to being copied into libkern. (Gee, why wasn't
this done before?  it's not like it was hard...)
2001-02-27 19:44:54 +00:00
cgd
82f3142780 fix NetBSD RCS id tags 2001-02-27 19:04:39 +00:00
cgd
181fee6ea8 pull up <machine/endian.h> and use BYTE_ORDER to decide endianness,
rather than MIPSEL and MIPSEB definitions.
2001-02-27 18:59:16 +00:00
bjh21
fe6fa58436 Add support for ARM VFP-format doubles, conditional on __VFP_FP__. 2001-02-21 18:09:25 +00:00
lukem
2e118c9dce fix _DIAGASSERT usage in hsearch() 2001-02-21 16:31:01 +00:00
jdolecek
26426e6fac Note this conforms to ANSI C as well. Fixes standards/12157. 2001-02-20 11:36:01 +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
0fd3d5e599 nuke a ref to __progname that somehow crept in 2001-02-19 22:43:21 +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