blob: c906cc53350e7a66196e831547e2e035a54958ef [file] [log] [blame]
Dmitry V. Levin2795a5f2014-12-06 03:53:16 +00001#include "defs.h"
2
3int
4sys_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}