| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
on Microsoft and GNU systems.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
| |
locale-sensitive collation only in single-byte locales, and just does
binary comparison for the others with extended character sets.
|
| |
|
| |
|
| |
|
|
|
|
| |
a bit optimized now.
|
|
|
|
|
|
| |
Thanks for the review, Mike.
Submitted by: Mike Barcroft <mike@FreeBSD.org>
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
implementation and compilation when bringing up a new architecture.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
| |
libc/string/Makefile.inc. psignal.3 doesn't live in libc/string.
|
|
|
|
| |
systems. NetBSD, Linux, SVR4 etc all have it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
were a workaround for limitations in bsd.man.mk that were fixed about
2 years ago.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
|
|
|
|
| |
Down to only about 100 items left to cleanup! :-)
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Submitted by: alex@elvisti.kiev.ua
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
my machine, and a simple static (genassym) and shared (sysctl) executable
both work. Still to be done: RPCand YP merge.
|
|
|