6 /* Not yet posix, command line arguments not handled */
15 pathname
= getcwd(0, 0); /* Not POSIX, but a reasonable option */
23 pathname
= realloc(pathname
, i
);
26 fputs("pwd: memory allocation failure", stderr
);
30 if(getcwd(pathname
, i
))
44 if((!not_posix
|| pathname
) && puts(pathname
) != EOF
)