summaryrefslogtreecommitdiff
path: root/support/dktools/test-skip.c
blob: 7a1c2a4f6762bda822447de14274cc2fb03065b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
	WARNING: This file was generated by dkct.
	Changes you make here will be lost if dkct is run again!
	You should modify the original source and run dkct on it.
	Original source: test-skip.ctr
*/

/**	@file test-skip.c The test-skip module.
*/


#line 1 "test-skip.ctr"

#include <stdio.h>

#include <dk4str8.h>

const char testline[] = { "   Dies  ist 	 ein 		Test." };


int main(void)
{
  const char	*text;
  size_t	 i;

  for (i = 0; i < 6; i++) {
    text = dk4str8_skip(testline, i);
    printf("%u \"%s\"\n", (unsigned)i, ((NULL != text) ? text : "(NULL)"));
  }
  return 0;
}