xt_strviscpy(3)

NAME
xt_strviscpy() - Copy a string, converting invisible characters

LIBRARY
#include <xtend/string.h>
-lxtend

SYNOPSIS
char    *xt_strviscpy(unsigned char *dest, const unsigned char *src,
size_t maxlen)

ARGUMENTS
src:    Source string containing invisible characters
dest:   Destination array to receive modified string
maxlen: Maximum number of characters in dest, not including null byte

DESCRIPTION
xt_strviscpy() copies a string from src to dest, converting invisible characters to a visible format much like the vis command or cat -v.

RETURN VALUES
A pointer to dest

SEE ALSO
vis(1), cat(1), strlcpy(3)