aboutsummaryrefslogtreecommitdiff
path: root/have/broken-strnvis.c
blob: f2a9a5985e60b2b1940e2b1d086a98b64b94d86a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * public domain
 */

#include <stdio.h>
#include <stdlib.h>
#include <vis.h>

int
main(void)
{
	char buf[128];

	return strnvis(buf, sizeof(buf), "Hello, world!\n", 0);
}