Improve the process for GNU tools
[minix3.git] / external / bsd / mdocml / dist / test-strsep.c
blob4c57c13e2cea3bfc1fdbef102d08752f329d4f61
1 #include <string.h>
3 int
4 main(void)
6 char buf[6] = "aybxc";
7 char *workp = buf;
8 char *retp = strsep(&workp, "xy");
9 return( ! (retp == buf && '\0' == buf[1] && buf + 2 == workp));