Return to test-getsubopt.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.3, 2014/08/17 20:53:50 | version 1.4, 2015/10/06 18:32:20 | ||
---|---|---|---|
|
|
||
char token0[] = "k"; | char token0[] = "k"; | ||
char *const tokens[] = { token0, NULL }; | char *const tokens[] = { token0, NULL }; | ||
char *value = NULL; | char *value = NULL; | ||
return( ! (0 == getsubopt(&options, tokens, &value) | return ! (getsubopt(&options, tokens, &value) == 0 | ||
&& value == buf+2 && options == buf+3)); | && value == buf+2 && options == buf+3); | ||
} | } |