var scope reduction
[trinity.git] / syscalls / brk.c
bloba313619390780bf68558a4db47f2cf868c301710
1 /*
2 * SYSCALL_DEFINE1(brk, unsigned long, brk)
4 * On success: Returns the new program break
5 * On failure: Returns current program break
6 */
7 #include "sanitise.h"
9 struct syscallentry syscall_brk = {
10 .name = "brk",
11 .num_args = 1,
12 .arg1name = "brk",
13 .arg1type = ARG_ADDRESS,
14 .rettype = RET_ZERO_SUCCESS,
15 .flags = AVOID_SYSCALL,