
SYSCALL(2)                 UNIX Programmer's Manual                 SYSCALL(2)

NNAAMMEE
     ssyyssccaallll - indirect system call

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<uunniissttdd..hh>>
     ##iinncclluuddee <<ssyyss//ssyyssccaallll..hh>>

     _i_n_t
     ssyyssccaallll(_i_n_t _n_u_m_b_e_r, _._._.)

DDEESSCCRRIIPPTTIIOONN
     SSyyssccaallll() performs the system call whose assembly language interface has
     the specified _n_u_m_b_e_r with the specified arguments.  Symbolic constants
     for system calls can be found in the header file <_s_y_s_c_a_l_l_._h>.

RREETTUURRNN VVAALLUUEESS
     The r0 value of the system call is returned.  When the C-bit is set,
     ssyyssccaallll() returns -1 and sets the external variable _e_r_r_n_o (see intro(2)).


BBUUGGSS
     There is no way to simulate system calls such as pipe(2).

HHIISSTTOORRYY
     The ssyyssccaallll function call appeared in 4.0BSD.

4th Berkeley Distribution       March 10, 1991                               1




































