home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: Windows 2000 Professional Resource Kit
/
W2KPRK.iso
/
apps
/
posix
/
source
/
BSDPSX
/
GETWD.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1999-11-17
|
335 b
|
27 lines
/*
* Getwd: Not Posix. Written in terms of Posix call, getcwd. AOJ
*/
#include <unistd.h>
char *getwd (buf)
register char
*buf;
{
return getcwd (buf, 80);
}
/*
main (argc, argv)
char **argv;
{
char
*c,
buf [64];
c = getwd (buf);
if (!c)
puts ("failed");
printf ("getwd %s\n", buf);
}
*/