mirror of https://github.com/mkerrisk/man-pages
Minor rewrites in code example
This commit is contained in:
parent
dded5e0c3f
commit
6cd17cdef7
|
@ -127,10 +127,13 @@ the POSIX.2 system utilities:
|
|||
.nf
|
||||
.in 10
|
||||
|
||||
char *pathbuf; size_t n;
|
||||
char *pathbuf;
|
||||
size_t n;
|
||||
|
||||
n = confstr(_CS_PATH,NULL,(size_t) 0);
|
||||
if ((pathbuf = malloc(n)) == NULL) abort();
|
||||
pathbuf = malloc(n);
|
||||
if (pathbuf == NULL)
|
||||
abort();
|
||||
confstr(_CS_PATH, pathbuf, n);
|
||||
.SH "SEE ALSO"
|
||||
.BR sh (1),
|
||||
|
|
Loading…
Reference in New Issue