Query: syscall
OS: xfree86
Section: 3ucb
Links: xfree86 man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
syscall(3UCB) SunOS/BSD Compatibility Library Functions syscall(3UCB)NAMEsyscall - indirect system callSYNOPSIS/usr/ucb/cc [ flag ... ] file ... #include <sys/syscall.h> int syscall(number, arg, ...);DESCRIPTIONsyscall() performs the function whose assembly language interface has the specified number, and arguments arg .... Symbolic constants for functions can be found in the header <sys/syscall.h>.RETURN VALUESOn error syscall() returns -1 and sets the external variable errno (see intro(2)).FILES<sys/syscall.h>SEE ALSOintro(2), pipe(2)NOTESUse of these interfaces should be restricted to only applications written on BSD platforms. Use of these interfaces with any of the system libraries or in multi-thread applications is unsupported.WARNINGSThere is no way to use syscall() to call functions such as pipe(2) which return values that do not fit into one hardware register. Since many system calls are implemented as library wrappers around traps to the kernel, these calls may not behave as documented when called from syscall(), which bypasses these wrappers. For these reasons, using syscall() is not recommended. SunOS 5.10 22 Jan 1993 syscall(3UCB)
Related Man Pages |
---|
syscall(2) - debian |
syscall(2) - suse |
syscall(3ucb) - x11r4 |
syscall(3ucb) - xfree86 |
syscall(3ucb) - posix |
Similar Topics in the Unix Linux Community |
---|
system call problem |
Memory free() in C |
Process on CPU inside syscall |
Adding our system call Fedora 18 -new syscall |
Download file with socket syscall |