repo.or.cz
/
trinity.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
split up constants.h some
[trinity.git]
/
syscalls
/
fchdir.c
blob
d1c79fa8ac2e6e1b2076509b2a4672412b30bdad
1
/*
2
* SYSCALL_DEFINE1(fchdir, unsigned int, fd)
3
*
4
* On success, zero is returned.
5
* On error, -1 is returned, and errno is set appropriately.
6
*/
7
#include
"sanitise.h"
8
9
struct
syscallentry syscall_fchdir
= {
10
.
name
=
"fchdir"
,
11
.
num_args
=
1
,
12
.
arg1name
=
"fd"
,
13
.
arg1type
=
ARG_FD
,
14
.
rettype
=
RET_ZERO_SUCCESS
,
15
.
flags
=
NEED_ALARM
,
16
.
group
=
GROUP_VFS
,
17
};