summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/Makefile.inc
Commit message (Collapse)AuthorAgeFilesLines
* Add the function memmem(3) as found in glibc and others.andre2005-08-251-5/+5
| | | | | | | | | | It is the binary equivalent to strstr(3). void *memmem(const void *big, size_t big_len, const void *little, size_t little_len); Submitted by: Pascal Gloor <pascal.gloor at spale.com> MFC after: 3 days
* Add an implementation of the semi-standard wcsdup() function, as foundtjr2005-08-131-2/+3
| | | | on Microsoft and GNU systems.
* Add and document ffsl(), fls() and flsl().des2004-01-131-1/+5
|
* * Merge index(3) and rindex(3) to index(3) since the two functions aresimon2003-07-281-2/+4
| | | | | | | | | | | | | almost identical. * Merge strchr(3) and strrchr(3) to strchr(3) since the two functions are almost identical. * Make the wording of index(3) and strchr(3) more similar. * mdoc(7) cleanup. Submitted by: SUZUKI Koichi <metal@gc5.so-net.ne.jp>, keramida, myself PR: docs/32054 Reviewed by: ru Approved by: ceri (mentor)
* libc_r wasn't so tied to libc for 22 months.ru2002-11-181-6/+4
|
* Add a placeholder implementation of wcscoll() and wcsxfrm() which givestjr2002-10-041-4/+6
| | | | | locale-sensitive collation only in single-byte locales, and just does binary comparison for the others with extended character sets.
* Add stpcpy(3).obrien2002-10-031-2/+3
|
* Add an implementation of wcstok(), based on strtok_r().tjr2002-09-071-3/+4
|
* Add a manual page for wcswidth().tjr2002-08-201-1/+1
|
* Move just committed version of wcswidth.c here (from "locale"),ache2002-08-201-1/+1
| | | | a bit optimized now.
* Must link strerror manpage to strerror_r.wes2001-11-271-0/+1
| | | | | | Thanks for the review, Mike. Submitted by: Mike Barcroft <mike@FreeBSD.org>
* Implement strcasestr() which many others (f.e. Linux) already have.ache2001-10-101-1/+2
|
* Add a new libc function, strnstr(3), which allows one to limit themike2001-10-091-0/+2
| | | | | | | | number of characters that are searched. This is especially useful with file operations and non-NUL terminated strings. Silence from: -audit, -hackers MFC after: 5 days
* Only pull in the MD files if they exist. This allows for progressivemp2001-07-311-0/+2
| | | | implementation and compilation when bringing up a new architecture.
* style nitsobrien2001-07-101-2/+2
|
* adapt to FreeBSD.tshiozak2001-05-151-2/+16
| | | | | | | | | | - enable locale-insensitive functions of wchar.h: wcscat.c wcschr.c wcscmp.c wcscpy.c wcscspn.c wcslcat.c wcslcpy.c wcslen.c wcsncat.c wcsncmp.c wcsncpy.c wcspbrk.c wcsrchr.c wcsspn.c wcsstr.c wmemchr.c wmemcmp.c wmemcpy.c wmemmove.c wmemset.c XXX: wcswidth.c is not enabled yet. - enable wmemchr(3) man page. XXX: FreeBSD lacks .St -isoC99 and .St -isoC-amd1.
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Import strl{cat,cpy} from OpenBSD.imp1999-08-101-6/+8
| | | | Obtained from: OpenBSD
* Fixed disordering and duplication of MLINKS in previous commit tobde1999-05-191-2/+1
| | | | libc/string/Makefile.inc. psignal.3 doesn't live in libc/string.
* Add a strsignal(3) (like strerror(3)) for libc compatability with otherpeter1999-05-181-2/+3
| | | | systems. NetBSD, Linux, SVR4 etc all have it.
* Install man page link for strtok_r.jdp1999-01-191-1/+2
|
* Change MACHINE references to MACHINE_ARCH.jb1998-02-201-3/+3
|
* Sorted lists.bde1997-10-211-4/+4
|
* Handle machine-dependent (m-d) (string) sources more automatically.bde1997-10-161-73/+7
| | | | | | | | | | | | | | | | | | | | | The names of m-d variants are now added (manually) to MDSRCS instead of to SRCS, and the names of all machine-independent (m-i) variants that can reasonably be replaced by an m-d variant are now added (manually) to MISRCS instead of to SRCS, so that a simple substitution can be used to discard the unused m-i variants. MISRCS is potentially all m-i sources, but the substitution is too simple to be fast, so MISRCS should be kept reasonably small. libc/Makefile.inc: Do the substitution. libc/i386/string/Makefile.inc: Add to MDSRCS instead of to SRCS. Add the names of all sources in this directory, but no others. libc/string/Makefile.inc Add to MISRCS instead of to SRCS. Add the names of all sources in this directory. Don't use (broken) explicit rules for special cases.
* Removed the subdirectory paths from the definitions of MAN[1-9]. Theybde1997-10-151-11/+6
| | | | | were a workaround for limitations in bsd.man.mk that were fixed about 2 years ago.
* Changed all paths to be relative to src/lib instead of src/lib/libcjb1997-05-031-4/+7
| | | | | | | | | | so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* ``mv'' -> ``mv -f''wosch1996-05-071-10/+11
| | | | | ``rm'' -> ``rm -f'' so mv/rm may not ask for confirmation if you are not root
* Another round of man page cleanups.mpp1996-02-121-1/+1
| | | | Down to only about 100 items left to cleanup! :-)
* Don't build swab.o here. It gets built in libc/i386/string. Previouslybde1995-03-071-1/+1
| | | | | | the copy built from here was overwritten by the other copy and the other copy was put in library-building command lines twice. ld now objects to duplicated modules.
* Add 8bit collate stuffache1995-02-161-0/+1
| | | | Submitted by: alex@elvisti.kiev.ua
* Use latest Arthur Olson timezone code rather than that supplied withwollman1994-09-131-2/+2
| | | | | 4.4. The code is almost identical to the 4.4 versions, but this organization should make it easier to merge new versions in the future.
* First crack at making libc work with the new make macros. It compiles onwollman1994-08-051-12/+16
| | | | | my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge.
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+92
OpenPOWER on IntegriCloud