Commit Graph

51 Commits

Author SHA1 Message Date
itojun e04ee8e939 split wide char section, just for readability/future possibility for .if 2000-12-24 03:45:04 +00:00
itojun 383f218a51 move wcs* and wmem* from lib/libc/locale to lib/libc/string. 2000-12-23 23:14:33 +00:00
lukem e447fb4bb4 add netbsd rcsid's
update for knf (return value on separate line to function name...)
check dst and src aren't null pointers before trying to use them
enable strlcat/strlcpy
1999-09-08 22:56:55 +00:00
drochner a34eb7c1b7 use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriate
libc builds on pmax again
1999-02-24 15:05:20 +00:00
kleink 25d16c74e0 Install a link for strtok_r(3). 1998-09-14 21:34:43 +00:00
perry 2ea077b77c switch bzero to version in memset.c.
bzero.c is now a "#define BZERO//#include memset.c" type file.
Remove comment from Makefile about the fact that this is on the todo list.
1998-08-04 06:25:10 +00:00
perry 8079ec33a6 Replace complicated and ugly makefile gook to make memmove,memcpy by
-Ding the bcopy.c source (and similarly strchr from index.c, strrchr
from rindex.c) with stub .c files for memmove, memcpy, strchr and
strrchr that simply #define the appropriate thing and #include the
appropriate .c file. Inspired by the way many m-d .S files handle the
same thing. This radically simplifies the Makefile.inc for libc/string
(and libkern).
1998-08-04 04:48:16 +00:00
perry f11bd84939 note that bzero isn't yet being built from memset.c 1998-01-30 23:45:23 +00:00
perry 5f8a6c06f3 update to lite-2 1998-01-30 23:37:40 +00:00
cgd 5815a7b9b9 Update various aspects of the special target builds which should
have been done (by others) a long time ago:
	* fix PIC compilation to use new PIC flags,
	* make them 'make -j N' safe.
1998-01-23 18:58:05 +00:00
lukem d0e23d974a - use CPPFLAGS instead of CFLAGS
- use ${COMPILE.C} ... instead of ${CC} ${CFLAGS} -c ...
1997-10-22 23:14:04 +00:00
lukem 2a55b0f192 rcsid police 1997-10-09 10:07:40 +00:00
mrg cbf5ef7c50 move str[fp]time into libc/time. 1997-04-23 01:17:59 +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
jtc c4c70a1c64 Add strtok_r() for reentrant (thread-aware) programs 1996-11-12 02:03:13 +00:00
matthias 6a01b1234b Make it possible to have a md version of memccpy. 1996-09-24 09:14:18 +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
dean 6ffb5ee299 Include files for pmax 1994-11-14 23:48:22 +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 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 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
phil d5e9c48073 Changing the ns32k stuff. 1994-02-25 07:42:01 +00:00
mycroft 7af32d8c3c memcpy.S and memmove.S on i386 are now separate. 1993-12-10 10:55:12 +00:00
mycroft ed306b5df9 Add strchr.S and strrchr.S for m68k. 1993-12-08 21:03:05 +00:00
pk 49d5ac06cc Added some Sparc sources. 1993-12-08 13:31:01 +00:00
mycroft b06640f168 Also a memcpy.S for m68k. 1993-12-07 01:00:06 +00:00
mycroft e3b5d6cf18 Remove -p flags from .so builds. 1993-12-07 00:54:09 +00:00
mycroft 91ae666ad3 Add memmove.S to m68k assembler stuff. 1993-12-06 23:39:42 +00:00
mycroft 5897de064c Use assembler versions of m68k stuff. 1993-12-06 23:22:15 +00:00
cgd 4db8a8637b fix things so that memmove.so, et al., are built correctly on
machines w/o architecture-specific sources.
1993-12-06 03:10:35 +00:00
briggs bdb4a3a91a Changed occurance of MACHINE_ARCH == "hp300" to MACHINE_ARCH == "m68k" 1993-12-05 15:45:52 +00:00
cgd f00e1cfe6a get pc532 moved into ns32k; that's is MACHINE_ARCH 1993-12-05 02:20:58 +00:00
cgd 0ada107897 update for .S and MACHINE_ARCH 1993-12-04 02:33:35 +00:00
cgd c8c15b1c4c don't compiler strerror.c source here, and clean up. 1993-10-18 20:24:34 +00:00
jtc 473c152a0a Moved strerror.[c3] from libc/stdio to libc/string.
Since perror is not permitted to change strerror()'s static buffer, I have
changed both functions to pass their own buffers to the new library-internal
function _strerror() that actually does the error message string look up.
Split strerror manpage into strerror and perror manpages.
1993-10-07 19:27:50 +00:00
cgd 0b9f50897e make an arch directory in libc, and move all machine dirs into it 1993-10-07 00:17:24 +00:00
jtc 20ae84f65b Add swab.c or swab.s, as appropriate, to each machines source list instead
of always using swab.c
1993-10-05 18:30:18 +00:00
phil 7ce7cb30df pc532 specifics. 1993-09-17 19:22:50 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
jtc 527e6a5736 Add i386 assembly versions of bcmp & memcmp 1993-06-17 23:00:41 +00:00
jtc b51b2fdb46 enable memset & memchr. 1993-06-17 16:14:32 +00:00
mycroft 686b9e0da1 Actually, just make memcpy() an alias for memmove(). 1993-06-16 18:38:38 +00:00
mycroft 33c9c47425 Oops. Forgot to update the Makefile. 1993-06-16 18:33:25 +00:00
jtc 5d2d1a3364 Added i386 assembly language versions of ffs, strcat, strcpy, and strlen. 1993-06-16 16:02:26 +00:00
jtc 800e6b4bac Added fast strcmp() and strncmp() routines. 1993-06-15 23:25:30 +00:00
cgd 10e1e6a373 add assembly language version of index, rindex, strchr, and strrchr
supplied by J.T. Conklin <conklin@kaleida.com>
1993-05-07 03:01:27 +00:00