Added source code
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* getcwd
|
||||
*/
|
||||
char *
|
||||
getcwd(pth, len)
|
||||
char *pth;
|
||||
size_t len;
|
||||
{
|
||||
extern char *getwd();
|
||||
|
||||
if(!pth)
|
||||
pth = (char *)malloc(len+1);
|
||||
|
||||
return(getwd(pth));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user