|
|
coherent
/*
* Rec'd from Lauren Weinstein, 7-16-84.
* Print working directory
*/
#include <stdio.h>
main()
{
register char *wd;
char *getwd();
if ((wd = getwd()) == NULL) {
perror("pwd");
exit(1);
}
printf("%s\n", wd);
exit(0);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.