mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-25 02:45:15 +08:00
New file: trivial stub for fchdir.
From Rich Dawe.
This commit is contained in:
parent
620d2e40cc
commit
82fb517834
14
lib/fchdir-stub.c
Normal file
14
lib/fchdir-stub.c
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user