blob: 1428094a908a47394cbff7f77d4fce3bfbb37197 [file] [log] [blame]
#include "defs.h"
SYS_FUNC(truncate)
{
printpath(tcp, tcp->u_arg[0]);
tprintf(", %lu", tcp->u_arg[1]);
return RVAL_DECODED;
}
SYS_FUNC(truncate64)
{
printpath(tcp, tcp->u_arg[0]);
printllval(tcp, ", %llu", 1);
return RVAL_DECODED;
}
SYS_FUNC(ftruncate)
{
printfd(tcp, tcp->u_arg[0]);
tprintf(", %lu", tcp->u_arg[1]);
return RVAL_DECODED;
}
SYS_FUNC(ftruncate64)
{
printfd(tcp, tcp->u_arg[0]);
printllval(tcp, ", %llu", 1);
return RVAL_DECODED;
}