| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Notes:
svn path=/head/; revision=169092
|
|
|
|
|
|
|
|
|
| |
clause.
# If I've done so improperly on a file, please let me know.
Notes:
svn path=/head/; revision=165903
|
|
|
|
|
|
|
|
| |
PR: docs/94803
MFC after: 3 days
Notes:
svn path=/head/; revision=163274
|
|
|
|
|
|
|
|
| |
first sentence back to the way it was. Add a second sentence that
explains the case when strcmp is called.
Notes:
svn path=/head/; revision=161274
|
|
|
|
| |
Notes:
svn path=/head/; revision=159644
|
|
|
|
| |
Notes:
svn path=/head/; revision=156613
|
|
|
|
|
|
|
| |
Reviewed by: davidxu
Notes:
svn path=/head/; revision=156608
|
|
|
|
| |
Notes:
svn path=/head/; revision=152746
|
|
|
|
| |
Notes:
svn path=/head/; revision=152571
|
|
|
|
| |
Notes:
svn path=/head/; revision=149792
|
|
|
|
|
|
|
|
|
|
| |
PR: docs/84850
Submitted by: garys
MFC after: 3 days
Approved by: keramida
Notes:
svn path=/head/; revision=149603
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=149466
|
|
|
|
|
|
|
| |
on Microsoft and GNU systems.
Notes:
svn path=/head/; revision=149011
|
|
|
|
|
|
|
|
|
|
|
|
| |
implementations inspired by the ones in DragonFly. Unlike the
DragonFly versions, these have a small data cache footprint, and my
tests show that they're never slower than the old code except when the
charset or the span is 0 or 1 characters. This implementation is
generally faster than DragonFly until either the charset or the span
gets in the ballpark of 32 to 64 characters.
Notes:
svn path=/head/; revision=144545
|
|
|
|
|
|
|
| |
Reported by: Sean McNeil <sean@mcneil.com>
Notes:
svn path=/head/; revision=143166
|
|
|
|
| |
Notes:
svn path=/head/; revision=142693
|
|
|
|
|
|
|
|
|
| |
Controlled by NLS define, currently disabled by default.
Idea obtained from: NetBSD
Notes:
svn path=/head/; revision=142667
|
|
|
|
|
|
|
|
|
| |
PR: misc/77369
Submitted by: Ed Maste <emaste@phaedrus.sandvine.ca>
MFC after: 1 week
Notes:
svn path=/head/; revision=141701
|
|
|
|
| |
Notes:
svn path=/head/; revision=140505
|
|
|
|
| |
Notes:
svn path=/head/; revision=138660
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://www.opengroup.org/onlinepubs/009695399/functions/swab.html
the prototype for swab() should be in <unistd.h> and not in <string.h>.
Move it, and update to match SUS. Leave the prototype in string.h for
now, for backwards compat.
PR: 74751
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
Discussed with: das
Notes:
svn path=/head/; revision=138659
|
|
|
|
|
|
|
| |
Bug submitted by: Andrea Campi <andrea+freebsd_current@webcom.it>
Notes:
svn path=/head/; revision=136582
|
|
|
|
|
|
|
| |
Noticed by: Andrea Campi
Notes:
svn path=/head/; revision=136519
|
|
|
|
|
|
|
|
|
|
|
| |
the contents of the returned buffer for unknown error codes.
PR: docs/72578
Submitted by: Jilles Tjoelker <jilles@stack.nl>
MFC after: 3 days
Notes:
svn path=/head/; revision=136432
|
|
|
|
| |
Notes:
svn path=/head/; revision=131504
|
|
|
|
| |
Notes:
svn path=/head/; revision=131365
|
|
|
|
|
|
|
|
| |
taking shortcuts when it comes to storing and passing around conversion
states.
Notes:
svn path=/head/; revision=127998
|
|
|
|
| |
Notes:
svn path=/head/; revision=124514
|
|
|
|
| |
Notes:
svn path=/head/; revision=124483
|
|
|
|
|
|
|
| |
follow declaration section.
Notes:
svn path=/head/; revision=123631
|
|
|
|
|
|
|
| |
[last] character, not int).
Notes:
svn path=/head/; revision=123584
|
|
|
|
| |
Notes:
svn path=/head/; revision=122104
|
|
|
|
| |
Notes:
svn path=/head/; revision=121531
|
|
|
|
| |
Notes:
svn path=/head/; revision=119893
|
|
|
|
|
|
|
|
|
|
|
| |
(where it didn't really belong), to the DESCRIPTION section.
English advice: ceri
Requested by: das
MFC after: 4 weeks
Notes:
svn path=/head/; revision=119748
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=118134
|
|
|
|
|
|
|
|
|
| |
PR: docs/53488
Submitted by: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
MFC after: 1 week
Notes:
svn path=/head/; revision=117123
|
|
|
|
|
|
|
| |
vocally objected to this safety belt.
Notes:
svn path=/head/; revision=114443
|
|
|
|
|
|
|
|
|
|
| |
technique) so that we don't wind up calling into an application's
version if the application defines them.
Inspired by: qpopper's interfering and buggy version of strlcpy
Notes:
svn path=/head/; revision=114256
|
|
|
|
| |
Notes:
svn path=/head/; revision=112131
|
|
|
|
|
|
|
|
|
|
|
| |
As a side effect, it makes the code easier to read and requires less
pointer arithmetic.
Test by: strerror regression test
Submitted by: Tim Kientzle <kientzle@acm.org>
Notes:
svn path=/head/; revision=108603
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Fix an English error (comma splice) and poorly worded sentence.
o Fix KNF ordering of variables (pointers come before arithmetic types).
o Restore hand-optimization of sizeof()-1, instead of strlen().
o Remove unneeded local variables in strerror_r().
Test by: strerror regression test
Requested by: bde
Reviewed by: bde
Notes:
svn path=/head/; revision=108118
|
|
|
|
|
|
|
| |
C99 now that all known standards-related bugs have been fixed.
Notes:
svn path=/head/; revision=108091
|
|
|
|
| |
Notes:
svn path=/head/; revision=108087
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
strerror_r(). Doing this allows us to ensure that strerror_r() always
fills the supplied buffer regardless of EINVAL or ERANGE errors.
strerror()'s semantics have changed slightly such that an argument of
0 is now considered invalid and errno is set to EINVAL.
Remove internal regression test for strerror() and strerror_r(). This
will be reincarnated in src/tools/regression/lib/libc/string.
In strerror(3), add a comment about strerror()'s bogus return type.
PR: 44356
Notes:
svn path=/head/; revision=108044
|
|
|
|
| |
Notes:
svn path=/head/; revision=108040
|
|
|
|
| |
Notes:
svn path=/head/; revision=108037
|
|
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107706
|
|
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107387
|
|
|
|
| |
Notes:
svn path=/head/; revision=107052
|