New file: trivial stub for fchdir.

From Rich Dawe.
This commit is contained in:
Jim Meyering 2003-03-19 09:00:34 +00:00
parent 620d2e40cc
commit 82fb517834

14
lib/fchdir-stub.c Normal file
View File

@ -0,0 +1,14 @@
#include <config.h>
#include <sys/types.h>
#include <errno.h>
/* A trivial substitute for `fchdir'.
DJGPP 2.03 and earlier don't have `fchdir'. */
int
fchdir (int fd)
{
errno = ENOSYS;
return -1;
}