summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/Makefile.inc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add wcsnlen(3), wcslen(3) with a max len argumentjca2024-07-141-4/+4
| | | | Missing function hit by fcambus@ some time ago. ok millert@
* New POSIX xlocale implementation written from scratch.libressl-v2.6.1schwarze2017-09-051-5/+5
| | | | | | | | | | | | Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8. With important help from kettenis@, guenther@, and jca@. Repeated testing in ports bulk builds by naddy@. Additional testing by jca@, sebastia@, dcoppa@, and others. OK kettenis@ dcoppa@, and guenther@ on an earlier version. Riding guenther@'s libc/librthread major bump.
* for some time now mandoc has not required MLINKS to functionjmc2016-03-301-21/+1
| | | | | | | | | | | | correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
* In ingo's new world order, we do not want multiple manual pages describingderaadt2014-12-091-3/+3
| | | | | | | the same thingies. Therefore these "lists of functions" man pages can go away. Hurray! I've wanted these pages to die for around 10 years! ok ingo (and i think jmc)
* restructure libc/string + libc/arch/*/string coperation regardingderaadt2014-11-301-128/+7
| | | | | | | | | | | | | | | | (potentially) MD versions (function dependent, not filename dependent) split out memcpy/memmove/bcopy and strchr/index/strrchr/rindex Bring back amd64 .S versions And the final touch: switch all architectures temporarily to MI memcpy.c, which contains syslog + abort for overlapping copies. A nice harsh undefined behaviour. We will clean the entire userland of the remaining issues in this catagory, then switch to the optimised memcpy which skips the memmove check. I tried to cut this change into pieces, but testing each sub-step on every architecture is too time consuming and mindnumbing. ok miod
* Add timingsafe_memcmp().matthew2014-06-131-5/+6
| | | | ok deraadt, jmc, tedu
* remove the never used bm string functionstedu2014-03-231-4/+3
|
* add explicit_bzero to libc. implementation subject to change, but starttedu2014-01-221-2/+3
| | | | the ball rolling. ok deraadt.
* Split out strncpy and strncat from strcpy and strcat manuals.millert2013-12-191-9/+8
| | | | Requested by deraadt@
* Missed the file renames for the string functions when committing theguenther2013-10-141-1/+25
| | | | DIST_LIB/DIST_OBJ/*.do changes
* Add an implementation of memmem() -- from FreeBSD with some tweaks.ajacoutot2013-05-131-4/+4
| | | | | | | | | Requires a libc minor bump, committing now so that we have up-to-date snapshots for the upcoming hackathon. joint work with millert@ man page bits ok jmc@ input and ok millert@, guenther@, deraadt@
* remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.okan2012-08-021-21/+1
| | | | ok guenther@
* Add stpcpy() and stpncpy(), pointless crap that made it into POSIX.guenther2012-01-171-3/+5
| | | | | | Includes friendly linker warning to wake up those dumb enough to use it. Committing for kettenis@, who ran away to the hills after writing it
* Instead of documenting all the wide string functions in wmemchr(3), addnicm2011-07-091-23/+9
| | | | | | | individual pages (based on the existing string man pages). By Tim van der Molen (tbvdm at xs4all dot nl) after a suggestion by millert@. ok deraadt
* Add wcsdup(), from NetBSD.nicm2011-07-041-3/+3
| | | | ok deraadt matthew
* wcs(n)casecmp support, manpage comments from jmc@, okay deraadt@espie2011-05-281-2/+4
|
* Add a wcswidth man page (based on FreeBSD), and fix the implementationstsp2011-04-041-2/+2
| | | | | to return -1 in case of an unprintable character. ok nicm jmc
* Add timingsafe_bcmp(3) to libc, mention that it's already in thematthew2010-09-241-2/+4
| | | | | | kernel in kern(9), and remove it from OpenSSH. ok deraadt@, djm@
* add posix_madvise, posix_memalign, strndup, and strnlen. mostly fromtedu2010-05-181-3/+5
| | | | | brad and millert, with hints from guenther, jmc, and otto I think. ok previous.
* Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentmiod2010-02-031-3/+3
| | | | | | | files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
* Make sure to use unique target names so that make -j does not break;miod2007-10-251-25/+25
| | | | feedback and ok espie@
* add memrchr(3)millert2007-09-031-2/+3
|
* Activate missing wcswidth, as noted by Alexander Bluhm.espie2005-10-291-2/+2
| | | | | okay deraadt@, otto@ Minor bump (nobody stepped forward with other changes, so let's do this one)
* Merge common functionality of __strsignal and strerror_r.otto2005-05-261-2/+2
| | | | ok jaredy@ miod@
* fix wmemchr.3 MLINKS;jmc2005-04-161-2/+3
| | | | ok espie@
* introduce some wchar functions (from citrus and an itojun@ diff)espie2005-04-141-3/+26
| | | | | okay deraadt@, cloder@, pvalchev@ thanks to everyone who commented on that.
* strcasestr(3), a case-insensitive version of strstr(3). already in netbsdderaadt2005-03-301-4/+5
| | | | | | and freebsd, apparently written by torek, the man we never see anymore; submitted by jcs, but he is not around right now for the libc major crank so i sneak it in for him
* Missed this in the __strerror() removal.millert2004-05-031-2/+2
|
* fix a variety of missing or wrong MLINKSderaadt2003-02-201-1/+2
|
* Add strerror_r and functions versions of getchar_unlocked andmarc2002-11-211-2/+2
| | | | putchar_unlocked. Crank the minor on related libs. OK fgs@, deraadt@
* make debug libs build againmickey2001-09-051-1/+21
|
* Install man-page links for strtok_r.art1999-11-091-1/+2
|
* index/rindex as deprecated synonyms to strchr/strrchr.espie1999-09-211-3/+5
|
* m68k assembler version of strlcpy(3)millert1999-04-251-3/+3
|
* Add thread-safety to libc, so that libc_r will build (on i386 at least).d1998-11-201-7/+7
| | | | | | | | | | | | | All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
* add strlcpy/strlcat, safe and sensible string copy/appendmillert1998-07-011-3/+4
|
* strftime is no longer in this directorytholo1998-02-071-3/+3
|
* Fix RCS idstholo1996-08-191-2/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* Add support for building lint(1) librarytholo1996-03-251-1/+21
|
* initial import of NetBSD treederaadt1995-10-181-0/+108