/* * getwd: return the working directory */ #include char * getwd(bfr) register char *bfr; { static char buffer[300]; if (bfr == (char*)0) bfr = buffer; getcwd(bfr, 300); return bfr; } /* getwd */