|
|
1.1 root 1: # include "monitor.h"
2: # include <ingres.h>
3: # include <aux.h>
4: # include <sccs.h>
5:
6: SCCSID(@(#)newdirec.c 7.1 2/5/81)
7:
8:
9:
10: /*
11: ** CHANGE WORKING DIRECTORY
12: */
13:
14: newdirec()
15: {
16: register char *direc;
17: extern char *getfilenm();
18:
19: direc = getfilenm();
20: if (chdir(direc))
21: printf("Cannot access directory \"%s\"\n", direc);
22: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.