aboutsummaryrefslogtreecommitdiffstats
path: root/guts/fchdir.c
blob: ba77ebfdcaf23e98f0ff1926a5dbc90444bd76bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
 * }
 */