millert
b7048f2268
Add VIS_DQ to escape double quotes. OK deraadt@ semarie@ reyk@
9 years ago
millert
4cd4507e3b
Add prototype for stravis().
10 years ago
djm
3bc27a71af
backout VIS_HEX. guenther@ points out that the C89 \xff encoding
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.
14 years ago
djm
ecf7c87d42
unbreak tree: add VIS_HEX and VIS_ALL flags
14 years ago
millert
910fc384eb
Add VIS_GLOB to escape special characters used by shell-style globbing.
From Solar Designer based on changes in FreeBSD. OK deraadt@
19 years ago
otto
86189206cf
implement strnunvis(3), a bounded version of strunvis(3). ok millert@
20 years ago
avsm
3f2bee58c7
add __bounded__ attributes for userland headers; enabled with -Wbounded
ok deraadt@
21 years ago
avsm
b75b1238ee
backout the __bounded__ attributes for a while; requested by deraadt@
21 years ago
avsm
3ab653a0d9
Mark various standard library functions with the __bounded__ attribute.
You must have an up-to-date gcc for this!
deraadt@ ok
21 years ago
millert
cc6797b16c
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.
21 years ago
millert
b68c09e067
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
23 years ago
millert
6c4a3507c1
Missed this in the strnvis(3) commit.
24 years ago
aaron
7445f852db
appropiate -> appropriate
26 years ago
niklas
2a0bf72166
Well, as we are heading for a release people are encouraged to rebuild their
entire trees for testing anyway, I might as well do this intrusive touching
of include files now. Added openBSD tags.
27 years ago
deraadt
47b73ff83c
initial import of NetBSD tree
29 years ago