summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/unvis.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Wrap <vis.h> so that calls go direct and the symbols are all weakguenther2015-09-131-1/+2
|
* Add VIS_DQ to escape double quotes. OK deraadt@ semarie@ reyk@millert2015-07-201-1/+2
|
* Fix handling of VIS_ALL: in vis(), actually encode all charactersguenther2011-03-131-1/+5
| | | | | | | as requested and give a correct estimate when they don't all fit, and in unvis() decode them instead of erroring ok nicm@, deraadt@
* backout VIS_HEX. guenther@ points out that the C89 \xff encodingdjm2010-08-241-49/+2
| | | | | | | | | idiotically accepts more then two hex digits following the \x, even on platforms where a char has 8 bits. It is therefore dangerous to have an almost-bit-not-quite compatible format in vis(3). The VIS_ALL (encode all characters) option introduced in the same commit remains.
* Two new flags: VIS_ALL - encode all characters, not just invisible onesdjm2010-08-211-3/+50
| | | | | | | | and VIS_HEX - use C89 \xff style hexadecimal encoding. Teach unvis(3) how to deal with the hex encoding. feedback and ok millert@ chl@
* zap remaining rcsid.espie2005-08-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* deregister (and deauto!). ok millert@ marco@otto2005-03-251-2/+2
|
* implement strnunvis(3), a bounded version of strunvis(3). ok millert@otto2004-10-171-1/+44
|
* ansify function definitions and zap some `register'jfb2004-05-181-4/+2
| | | | ok millert@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-8/+1
|
* #if __STDC__ --> #ifdef __STDC__mickey1997-07-251-2/+2
|
* Clean up some -Wall complaints.millert1997-07-091-2/+2
|
* Remove dead codetholo1996-09-151-2/+2
| | | | | | Remove unused variables Silence some warnings lint(1) is your friend
* Fix RCS idstholo1996-08-191-7/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* Prototype internal functionstholo1996-03-251-0/+4
| | | | Do the right thing in presense of __STDC__
* initial import of NetBSD treederaadt1995-10-181-0/+255