summaryrefslogtreecommitdiff
path: root/lib/libc/gen/vis.c
AgeCommit message (Collapse)Author
2004-05-18ansify function definitions and zap some `register'Jean-Francois Brousseau
ok millert@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-14sync vis() behaviour when VIS_SAFE to man page: don't do anything if isgraph()Paul Janzen
is true, even if the character isn't 7-bit.
2002-07-01need string.hTheo de Raadt
2002-07-01Fix strnvis(): don't truncate unnecessarily, set the return value correctlyPaul Janzen
if we had to truncate, and don't NUL-terminate if size == 0.
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2001-08-13Explicitly NUL terminate dst in strvis() and strvisx() in caseTodd C. Miller
we are passes an empty string. vis() and strnvis() were already OK. Based on patch by wilfried@openbsd.org
2000-11-21Add strnvis(3) -- a length-bounded version of strvis(3) with a returnTodd C. Miller
value similar to snprintf(3) and strlcpy(3).
2000-07-19off-by-one calculation error; getcwd() would return NULL if the buffer wasTheo de Raadt
the needed length + terminating byte + 1; that 1 is not needed; assar
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-09Clean up some -Wall complaints.Todd C. Miller
1996-08-19Fix RCS idsThorsten Lockert
Make sure everything uses {SYS,}LIBC_SCCS properly
1995-10-18initial import of NetBSD treeTheo de Raadt