File:  [MW Coherent from dump] / coherent / d / bin / pwd.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:39 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
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);
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.