delorie.com/djgpp/doc/libc/libc_305.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <unistd.h> int fchdir(int fd); |
This function changes the current directory to the directory described by the file descriptor fd.
Zero on success, else nonzero and errno set if error.
ANSI/ISO C | No |
POSIX | 1003.2-1992; 1003.1-2001 |
int fd; fd = open("dir", O_RDONLY); fchdir(fd); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |