1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-18 01:18:51 +02:00

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
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;
}