Dmitry V. Levin | 2795a5f | 2014-12-06 03:53:16 +0000 | [diff] [blame] | 1 | #include "defs.h" |
2 | |||||
3 | int | ||||
4 | sys_fallocate(struct tcb *tcp) | ||||
5 | { | ||||
6 | if (entering(tcp)) { | ||||
7 | int argn; | ||||
8 | printfd(tcp, tcp->u_arg[0]); /* fd */ | ||||
9 | tprintf(", %#lo, ", tcp->u_arg[1]); /* mode */ | ||||
10 | argn = printllval(tcp, "%llu, ", 2); /* offset */ | ||||
11 | printllval(tcp, "%llu", argn); /* len */ | ||||
12 | } | ||||
13 | return 0; | ||||
14 | } |