summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcsncpy.c
Commit message (Collapse)AuthorAgeFilesLines
* Renumber clauses to reduce diffs to other versionsemaste2013-05-281-1/+1
| | | | | NetBSD, OpenBSD, and Android's Bionic number the clauses 1 through 3, so follow suit to make comparison easier.
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Restore Berkeley SCCS id.tjr2002-10-241-1/+5
|
* Replace this wcsncpy() implementation with one based on strncpy.c to fixtjr2002-10-231-26/+32
| | | | | | | two major bugs: - off-by-one overflow when the length of the source string exceeds or equals the destination buffer size. - old version was not padding the destination buffer with null wide chars
* Remove unnecessary #include <assert.h>; it was used to bring in thetjr2002-09-211-1/+0
| | | | _DIAGASSERT macro on NetBSD, but we don't need it.
* Add restrict qualifiers where C99 permits them. All of these already hadtjr2002-09-071-2/+2
| | | | restrict qualifiers on their prototypes in <wchar.h>.
* Fix the style of the SCM ID's.obrien2002-03-221-0/+2
| | | | I believe have made all of libc .c's as consistent as possible.
* rcsid[]->__FBSDIDobrien2001-11-071-4/+1
|
* Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.obrien2001-05-241-4/+4
| | | | Do the same for the non-wcs*/wmem* files while I'm here.
* Unbreak world; _DIAGASSERT macro is not available in FreeBSD.ru2001-05-161-3/+0
|
* initial import of locale insensitive wcs* and wmem* functions.tshiozak2001-05-151-0/+63
Obtained from: NetBSD and Citrus.
OpenPOWER on IntegriCloud