matthias
97a71285c8
Teach strmode(3) about whiteouts. They get w 'w' now.
1997-01-30 09:23:46 +00:00
mrg
9cd5492c02
- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
...
- some KNF.
1997-01-23 14:01:45 +00:00
cgd
2a7f3ba91e
add rules to build .ln files (memmove.ln, memcpy.ln, strchr.ln, strrchr.ln)
...
for objects built specially from other C files, when appropriate.
1996-12-22 11:34:21 +00:00
cgd
58f52170c8
args for _fmt(), _secs(), and _add() should all be const (!!)
1996-12-20 20:27:22 +00:00
jtc
c4c70a1c64
Add strtok_r() for reentrant (thread-aware) programs
1996-11-12 02:03:13 +00:00
lukem
43d6d7cf35
fix the the typos
1996-11-12 01:04:24 +00:00
cgd
a5b6b0d19f
pull up from libkern:
...
>when casting const pointers, preserve const qualifiers. (-Wcast-qual)
1996-10-24 23:47:27 +00:00
cgd
6e4431ed29
stnrcpy() isn't a function. strncpy() is. Use it instead.
1996-10-11 20:59:20 +00:00
jtc
ace90ad26b
Since the user provide his own message catalog (via NLSPATH and LANG)
...
the __strerror() and __strsignal() functions can not assume that the
messages will not overflow a NL_TEXTSIZE-sized buffer.
Noted by Mike Long <mike.long@analog.com> in PR
1996-10-11 00:51:07 +00:00
matthias
6a01b1234b
Make it possible to have a md version of memccpy.
1996-09-24 09:14:18 +00:00
jtc
4063ad5adb
#ifdef _KERNEL, #include <lib/libkern/libkern.h> instead of <string.h>.
1996-08-15 22:45:17 +00:00
jtc
7c04139bcd
Fix computation of ISO 8601 Week Of Year
1996-06-01 21:23:25 +00:00
cgd
57da02bd77
don't include user-land headers compiling for libkern. (sync with libkern.)
1996-04-18 02:30:07 +00:00
jtc
025820ea94
Fix swapped description of %x and %X format specifiers
1996-02-29 15:03:20 +00:00
jtc
fdde8d3367
gcc -Wall cleanup from John Birrell <jb@cimlogic.com.au>.
1996-02-04 23:43:54 +00:00
jtc
d758cb389a
Include errno.h (declarations of sys_errlist and sys_nerr were moved
...
from stdio.h to errno.h).
1996-01-20 01:41:51 +00:00
jtc
99ec00663a
Fix manpage typoes; PR #1905
1996-01-16 01:42:19 +00:00
jtc
0943e32aa8
Fixed %u to expand to a single digit
1995-12-28 23:02:42 +00:00
jtc
362ffa8883
remove bogus sys_errlist(3) cross reference
1995-07-03 22:46:21 +00:00
jtc
1eb9f79e6e
added intro(2) cross reference
1995-07-03 22:44:42 +00:00
jtc
752ff8fb6c
don't include <sys/cdefs.h>, it's a 'private' header
1995-06-15 00:07:11 +00:00
jtc
7ca5cd45b0
strtok replaces the separator character, not the token, with a NUL.
...
(Fix from PR #891.)
1995-05-13 07:41:35 +00:00
cgd
b523e3778b
cast last argument of catgets() to (char *) to quiet compiler's complaints
...
about loss of 'const'-ness.
1995-04-24 16:37:31 +00:00
jtc
4af41fe4b3
bcopy -> memcpy
1995-04-14 19:25:13 +00:00
mycroft
79b7b78087
Clarify a comment slightly.
1995-03-20 14:47:39 +00:00
mycroft
ce36f636ab
Separate machine dependencies.
1995-03-20 14:45:27 +00:00
cgd
b42e80ba75
list the files needed on the alpha.
1995-02-10 17:46:48 +00:00
cgd
ae9172d6cd
specify man pages the new way.
1994-12-22 09:57:51 +00:00
cgd
3c5606e4ea
fix for bug 638
1994-12-14 07:24:12 +00:00
jtc
92737ece73
Rework indirect reference support as outlined by my recent message to
...
the tech-userlevel mailing list.
1994-12-12 22:42:20 +00:00
jtc
1bd8c27e8b
Private versions of cat*() functions now have only one leading underscore.
1994-11-18 15:38:32 +00:00
dean
6ffb5ee299
Include files for pmax
1994-11-14 23:48:22 +00:00
cgd
517cf49336
case to quiet compiler.
1994-10-19 03:09:00 +00:00
cgd
d2b0e8d86d
be a bit more careful with types.
1994-10-19 03:07:18 +00:00
deraadt
5b951fb823
fix typo
1994-10-12 02:35:26 +00:00
jtc
d5f2bfb17a
Use __sys_siglist[].
1994-10-10 04:53:01 +00:00
jtc
afdcfb9eeb
Use __sys_errlist[] & __sys_nerr.
1994-10-10 04:52:13 +00:00
jtc
76cf6eaace
Call internal NLS interfaces: __catopen(), __catgets(), and __catclose().
1994-10-06 18:17:52 +00:00
jtc
d9c2e7b590
Change size of array passed to __strsignal() from 128 to NL_TEXTMAX.
1994-10-06 18:16:18 +00:00
jtc
e19f10c79b
Change size of array passed to __strerror() from 128 to NL_TEXTMAX.
1994-10-06 18:14:53 +00:00
jtc
9be3c7f228
Minor tweaks to prepare for checkin of real i18n code.
1994-09-29 04:57:04 +00:00
jtc
0f67980cb1
Don't define sys_siglist, <signal.h> does that already
1994-09-12 18:43:12 +00:00
jtc
6d3bf399eb
__strerror() and __strsignal() have been broken out into their own files
...
and use message catalogs if NLS is defined.
Increased the size of char buffers used by strerror() and strsignal();
the error and signal strings may be much longer in some locales.
1994-09-03 05:07:49 +00:00
jtc
a0752b653c
Minor touch ups to match strsignal(3) man page
1994-08-02 05:02:13 +00:00
jtc
18ba4287c5
Add strsignal() function like on Solaris.
...
We might want to be able to retrieve a locale-specific signal description
(from a message catalog) and we need a function call API for that feature.
1994-08-02 05:01:20 +00:00
mycroft
1454a5a41f
We're supposed to include ${CPPFLAGS} when compiling .c files.
1994-07-06 04:07:53 +00:00
cgd
23aca3d339
rcs id's
1994-06-22 00:17:04 +00:00
cgd
7f79e48c1a
add Boyer-Moore string search routines, from Bostic. man page
...
needs to be fixed for mandoc, and RCSID's need to be added.
1994-06-22 00:15:22 +00:00
jtc
fe4dd97bd4
Remove unneeded #include <stddef.h> because <string.h> #defines NULL too.
1994-06-11 16:49:13 +00:00
jtc
15d0e3dedd
Get the day, month, format, etc. strings from the current time locale
...
structure instead of static data.
1994-05-25 01:20:19 +00:00