suse man page for syscall_get_error

Query: syscall_get_error

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SYSCALL_GET_ERROR(9)						   Machine State					      SYSCALL_GET_ERROR(9)

NAME
syscall_get_error - check result of traced system call
SYNOPSIS
long syscall_get_error(struct task_struct * task, struct pt_regs * regs);
ARGUMENTS
task task of interest, must be blocked regs task_pt_regs of task
DESCRIPTION
Returns 0 if the system call succeeded, or -ERRORCODE if it failed. It's only valid to call this when task is stopped for tracing on exit from a system call, due to TIF_SYSCALL_TRACE or TIF_SYSCALL_AUDIT. Kernel Hackers Manual 2.6. July 2010 SYSCALL_GET_ERROR(9)
Related Man Pages
pvm_advise(3pvm) - redhat
iv_task_register(3) - debian
pvm_advise(3pvm) - debian
pvmfadvise(3pvm) - debian
struct_utrace_engine_ops(9) - suse
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
Shopt -s histappend
32 bit process addressing more than 4GB