| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Submitted by: Florian Smeets <flo kasimir com>
MFC after: 3 days
|
| |
|
|
|
|
| |
I missed this file in my previous commit.
|
|
|
|
|
|
|
|
|
|
|
|
| |
wcscasecmp(), and wcsncasecmp().
- Make some previously non-standard extensions visible
if POSIX_VISIBLE >= 200809.
- Use restrict qualifiers in stpcpy().
- Declare off_t and size_t in stdio.h.
- Bump __FreeBSD_version in case the new symbols (particularly
getline()) cause issues with ports.
Reviewed by: standards@
|
|
|
|
|
| |
The annotation mainly just serves as a hint that they're not intended
for use with overlapping strings.
|
| |
|
|
|
|
| |
from the ANSI-C prototype due to the 'int promotion' rule.
|
|
|
|
|
|
| |
- use nul when we are looking for a terminating character where appropriate
Approved by: imp
|
|
|
|
|
|
|
|
| |
- Use the correct term 'long mode'. [2]
- style(9) for return value. [3]
Submitted by: Ben Kaduk <minimarmot gmail com> [1],
obrien [2], scf [3]
|
|
|
|
|
|
|
|
|
| |
reducing branches and doing word-sized operation.
The idea is taken from J.T. Conklin's x86_64 optimized version of strlen(3)
for NetBSD, and reimplemented in C by me.
Discussed on: -arch@
|
|
|
|
|
|
|
| |
FreeBSD 7.1
Submitted by: Jan Henrik Sylvester <me janh de>
MFC after: 3 days
|
|
|
|
|
|
| |
o Use an ISC-style license as did by the author.
Obtained from: OpenBSD
|
|
|
|
|
|
| |
o Use ISC style copyright as did by the author.
Obtained from: OpenBSD
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Copyright attribution is kept the same as in original NetBSD source.
Submitted by: Florian Smeets <flo kasimir com>
Obtained from: NetBSD
MFC after: 2 weeks
|
|
|
|
|
| |
Submitted by: Florian Smeets <flo kasimir com>
MFC after: 2 weeks
|
|
|
|
| |
Reviewed by: trasz
|
|
|
|
|
|
|
|
| |
on long long arguments.
Reviewed by: bde (previous version, that included asm implementation
for all ffs and fls functions on i386 and amd64)
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
| |
- ANSIfy;
- Convert do {} while loop -> while {} for clarity;
- Sync RCS ID with OpenBSD;
Obtained from: OpenBSD
|
|
|
|
| |
Submitted by: Christoph Mallon <christoph.mallon gmx.de>
|
| |
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
| |
Prompted by: Glenn Halperin, Symbian Software
|
| |
|
|
|
|
|
|
| |
clause.
# If I've done so improperly on a file, please let me know.
|
|
|
|
|
| |
PR: docs/94803
MFC after: 3 days
|
|
|
|
|
| |
first sentence back to the way it was. Add a second sentence that
explains the case when strcmp is called.
|
| |
|
| |
|
|
|
|
| |
Reviewed by: davidxu
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
PR: docs/84850
Submitted by: garys
MFC after: 3 days
Approved by: keramida
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Reported by: Sean McNeil <sean@mcneil.com>
|
| |
|
|
|
|
|
|
| |
Controlled by NLS define, currently disabled by default.
Idea obtained from: NetBSD
|
|
|
|
|
|
| |
PR: misc/77369
Submitted by: Ed Maste <emaste@phaedrus.sandvine.ca>
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Bug submitted by: Andrea Campi <andrea+freebsd_current@webcom.it>
|
|
|
|
| |
Noticed by: Andrea Campi
|
|
|
|
|
|
|
|
| |
the contents of the returned buffer for unknown error codes.
PR: docs/72578
Submitted by: Jilles Tjoelker <jilles@stack.nl>
MFC after: 3 days
|
| |
|