5f9f80b825
char * svis(char *dst, int c, int flag, int nextc, const char *extra); int strsvis(char *dst, const char *src, int flag, const char *extra); int strsvisx(char *dst, const char *src, size_t len, int flag, const char *extra); These functions correspond to vis(), strvis(), and strvisx() but have an additional argument extra, pointing to a NUL terminated list of characters. These characters will be copied encoded or backslash-escaped into dst. These functions are useful e. g. to remove the special meaning of certain characters to shells. To implement the new functions, vis underwent a major rewrite. Most functions now use a central macro, SVIS. Performance increase ~ factor 2. Reviewed by Christos. |
||
---|---|---|
.. | ||
arch | ||
compat-43 | ||
db | ||
gen | ||
gmon | ||
hash | ||
include | ||
locale | ||
md | ||
net | ||
nls | ||
quad | ||
regex | ||
rpc | ||
stdio | ||
stdlib | ||
string | ||
sys | ||
termios | ||
thread-stub | ||
time | ||
yp | ||
Makefile | ||
shlib_version |