diff options
author | Jim Meyering <jim@meyering.net> | 2003-03-19 09:00:34 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-03-19 09:00:34 +0000 |
commit | 82fb517834f309285c4906365abe45b8fa3ac905 (patch) | |
tree | ad0061c30204565130770555507007c274e4dbbf /lib | |
parent | 620d2e40cc375a7432e379dd4c65ee029ae8210c (diff) | |
download | coreutils-82fb517834f309285c4906365abe45b8fa3ac905.tar.xz |
New file: trivial stub for fchdir.
From Rich Dawe.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fchdir-stub.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/fchdir-stub.c b/lib/fchdir-stub.c new file mode 100644 index 000000000..922236211 --- /dev/null +++ b/lib/fchdir-stub.c @@ -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; +} |