Bug #393 » getconf.diff
getconf.c 5 Dec 2006 22:21:43 -0000 | ||
---|---|---|
char *buf;
|
||
size_t len;
|
||
errno = 0;
|
||
len = confstr(key, 0, 0);
|
||
if (len == (size_t)-1)
|
||
if (len == 0 && errno != 0)
|
||
err(EX_OSERR, "confstr: %s", name);
|
||
|
||
if (len == 0) {
|
- « Previous
- 1
- 2
- Next »