blob: 59a262f66da4091d5b1cfbf0de0ad76c5bb61d59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/*
* Copyright (c) 2008-2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
* static int
* wrap_chdir(const char *path) {
* int rc = -1;
*/
pseudo_debug(2, "chdir: '%s'\n",
path ? path : "<nil>");
if (!path) {
errno = EFAULT;
return -1;
}
rc = real_chdir(path);
if (rc != -1) {
pseudo_client_op(OP_CHDIR, 0, -1, -1, path, 0);
}
/* return rc;
* }
*/
|