diff options
Diffstat (limited to 'ports/unix/guts/fchdir.c')
-rw-r--r-- | ports/unix/guts/fchdir.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ports/unix/guts/fchdir.c b/ports/unix/guts/fchdir.c new file mode 100644 index 0000000..ba77ebf --- /dev/null +++ b/ports/unix/guts/fchdir.c @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2008-2010 Wind River Systems; see + * guts/COPYRIGHT for information. + * + * static int + * wrap_fchdir(int dirfd) { + * int rc = -1; + */ + + rc = real_fchdir(dirfd); + + if (rc != -1) { + pseudo_client_op(OP_CHDIR, 0, -1, dirfd, 0, 0); + } + +/* return rc; + * } + */ |