test structure too
[tridge/junkcode.git] / strnlen-test.c
1 #include <stdio.h>
2 #include <string.h>
3
4 int main(void)
5 {
6   char *test = "1234567890";
7   int i;
8   for (i=0;i<9;i++) {
9     printf("%d\n", strnlen(test,i));
10   }
11   return 0;
12 }