| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2009-07-22 | Declare strsignal(3) in <string.h>, per POSIX-2008, and adjust | kleink | |
| documentation accordingly. Fixes PR standards/41325 from Perry E. Metzger. | |||
| 2009-05-01 | note that we have strsignal but it is in the wrong include file. | perry | |
| 2009-05-01 | Add prototypes for stpcpy, stpncpy, strnlen, added in the latest POSIX. | perry | |
| Implementations in libc to follow. For POSIX compliance, we are still missing: strcoll_l strerror_l strsignal strxfrm_l | |||
| 2009-04-10 | add memrchr | christos | |
| 2007-10-19 | kill _NETBSD_TOOLS. | christos | |
| 2007-10-18 | Introduce _NETBSD_TOOLS for symbols the are needed in tools build | christos | |
| 2007-08-02 | Do not include SSP files unless _FORTIFY_SOURCE > 0. | kristerw | |
| 2007-05-30 | Match usage of FORTIFY_SOURCE on other platforms by not requiring special | tls | |
| include path: the normal header files now include the "SSP" ones (which one should note are not really named right: SSP and FORTIFY_SOURCE are independent features). Disable USE_SSP on targets where the compiler doesn't support it at all (mips, alpha) or it's known broken (sh3). But enable FORTIFY_SOURCE, without SSP, on those platforms -- tested on mipsel. | |||
| 2006-08-12 | Add stresep and strndup. | christos | |
| 2005-07-28 | Add strerror_r. | christos | |
| 2005-03-13 | Add prototype for memmem(3). It is API compatible with the version in Linux. | perry | |
| 2005-02-03 | de-__P -- the hack is long since useless. Discussed with christos, | perry | |
| matt, kleink, others. Approved by christos. | |||
| 2004-07-12 | Move the strcasestr() prototype to the local extensions section. | kleink | |
| Also __P() it; this should be consistent within a single header. | |||
| 2004-07-03 | Add strcasestr(3), case insensitive version of strstr(3). | junyoung | |
| Bump libc minor. From FreeBSD. | |||
| 2003-08-07 | Move UCB-licensed code from 4-clause to 3-clause licence. | agc | |
| Patches provided by Joel Baker in PR 22270, verified by myself. | |||
| 2003-04-28 | Add a new feature-test macro, _NETBSD_SOURCE. If this is defined | bjh21 | |
| by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined. <sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE, _POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve existing behaviour. This has two major advantages: + Programs that require non-POSIX facilities but define _POSIX_C_SOURCE can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS. + It makes most of the #ifs simpler, in that they're all now ORs of the various macros, rather than having checks for (!defined(_ANSI_SOURCE) || !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place. I've tried not to change the semantics of the headers in any case where _NETBSD_SOURCE wasn't defined, but there were some places where the current semantics were clearly mad, and retaining them was harder than correcting them. In particular, I've mostly normalised things so that _ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE, _XOPEN_SOURCE and _NETBSD_SOURCE in that order. Tested by building for vax, encouraged by thorpej, and uncontested in tech-userlevel for a week. | |||
| 2001-03-22 | Sprinkle some restrict qualifiers. | kleink | |
| 2000-01-10 | Move <null.h> to <sys/null.h> for the purpose of avoiding conflicts due to | kleink | |
| std C headers including it, and a kernel module written in C++ would benfit as well. | |||
| 1999-12-22 | For the benefit of G++'s null pointer constant implementation, #define NULL | kleink | |
| as __null with egcs 1.0 (GCC 2.90) and above. As several headers are affected by this change, move the definition into a new header file, <null.h>, to ease maintenance. | |||
| 1999-09-09 | strlcat() and strlcpy() aren't ISO/IEC 9899:1990. | kleink | |
| 1999-09-08 | prototypes for strlcat() and strlcpy() | lukem | |
| 1998-07-27 | Make many of the new consts dependent on a new `__AUDIT__' flag, to avoid | mycroft | |
| breaking third party software. *sigh* | |||
| 1998-07-26 | KNF nit. | mycroft | |
| 1998-07-26 | const poisoning. | mycroft | |
| 1998-05-06 | Make strtok_r() available to _XOPEN_SOURCE >= 500, and fix the protection of | kleink | |
| memccpy() and strdup(). | |||
| 1998-04-27 | Move the #include <strings.h> line inside a !defined(_XOPEN_SOURCE) block | tv | |
| (not just !POSIX and !ANSI) | |||
| 1998-02-03 | restore include of sys/featuretest.h | perry | |
| 1998-02-02 | remove sys/featuretest.h -- why did kleink add it? | perry | |
| 1998-02-02 | merge lite-2 | perry | |
| 1998-02-02 | Per XPG4.2, move the prototypes of bcmp(), bcopy(), bzero(), ffs(), index(), | kleink | |
| rindex(), strcasecmp() and strncasecmp() to <strings.h>. For now, include <strings.h> to get these prototypes; this should go away eventually. Also, protect the prototypes of strtok_r() and strsep(). | |||
| 1998-01-12 | Per XPG4, move the prototype of swab() from <string.h> to <unistd.h>. | kleink | |
| 1997-10-16 | move setmode and strsignal to unistd.h | christos | |
| 1997-07-13 | Add missing strtok_r prototype | christos | |
| 1994-10-26 | new RCS ID format. | cgd | |
| 1994-08-02 | Added prototype for new function strsignal() | jtc | |
| 1994-05-21 | add _BSD's to ansi types | cgd | |
| 1993-10-11 | Changed preprocessor conditional so non-standard functions would not be | jtc | |
| declared in a _POSIX_SOURCE environment. | |||
| 1993-08-01 | Add RCS identifiers. | mycroft | |
| 1993-03-21 | initial import of 386bsd-0.1 sources | cgd | |
