summaryrefslogtreecommitdiff
path: root/lib/fchdir-stub.c
blob: 9222362113fc5a09d28a1071369484b041a956e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
}