[ntp:hackers] \ escape string subroutine?

David Malone dwmalone at maths.tcd.ie
Mon Nov 22 03:25:07 PST 2004


On Mon, Nov 22, 2004 at 03:23:51AM -0500, stenn at www.ntp.org wrote:
> Anybody have a pointer to a subroutine that will translate \ escape
> sequences?

The vis and strvis functions might do what you want. See:

	http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/

the files vis.3 and vis.c (and the corresponding unvis files)
might be useful.

	David.



More information about the hackers mailing list