Annotation of 43BSD/ingres/source/monitor/newdirec.c, revision 1.1

1.1     ! root        1: # include      "monitor.h"
        !             2: # include      <ingres.h>
        !             3: # include      <aux.h>
        !             4: # include      <sccs.h>
        !             5: 
        !             6: SCCSID(@(#)newdirec.c  8.1     12/31/84)
        !             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: }

unix.superglobalmegacorp.com

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