add vis(3).
This commit is contained in:
parent
4cfc918b17
commit
30ff139bd9
3 changed files with 11 additions and 1 deletions
|
|
@ -106,6 +106,7 @@ AC_CHECK_HEADERS([ \
|
|||
utmp.h \
|
||||
utmpx.h \
|
||||
wctype.h \
|
||||
vis.h \
|
||||
])
|
||||
|
||||
case "$host" in
|
||||
|
|
@ -360,6 +361,7 @@ AC_CHECK_FUNCS([ \
|
|||
strerror \
|
||||
strlcat \
|
||||
strlcpy \
|
||||
strnvis \
|
||||
strrchr \
|
||||
strstr \
|
||||
strtol \
|
||||
|
|
|
|||
|
|
@ -125,4 +125,10 @@ size_t sj3_strlcat(char *, const char *, size_t);
|
|||
size_t sj3_strlcpy(char *, const char *, size_t);
|
||||
#endif
|
||||
|
||||
/* vis.c */
|
||||
#ifndef HAVE_STRNVIS
|
||||
#define strnvis sj3strnvis
|
||||
int strnvis(char *, const char *, size_t, int);
|
||||
#endif
|
||||
|
||||
#endif /* SJ3COMPAT_H */
|
||||
|
|
|
|||
|
|
@ -13,4 +13,6 @@ libsj3compat_la_SOURCES = \
|
|||
inet_ntoa.c \
|
||||
setproctitle.c \
|
||||
strlcat.c \
|
||||
strlcpy.c
|
||||
strlcpy.c \
|
||||
vis.c
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue