delorie.com/djgpp/doc/libc/libc_424.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <unistd.h> char *getwd(char *buffer); |
Get the current directory and put it in buffer. The return value includes the drive specifier.
buffer is returned.
ANSI/ISO C | No |
POSIX | No |
char buf[PATH_MAX]; getwd(buf); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |