home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
gnu
/
man
/
cat2
/
syscall.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
1KB
|
67 lines
SYSCALL(2) UNIX Programmer's Manual SYSCALL(2)
NNAAMMEE
ssyyssccaallll - indirect system call
SSYYNNOOPPSSIISS
##iinncclluuddee <<uunniissttdd..hh>>
##iinncclluuddee <<ssyyss//ssyyssccaallll..hh>>
_i_n_t
ssyyssccaallll(_i_n_t _n_u_m_b_e_r, _._._.)
DDEESSCCRRIIPPTTIIOONN
SSyyssccaallll() 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>.
RREETTUURRNN VVAALLUUEESS
The r0 value of the system call is returned. When the Cbit is set,
ssyyssccaallll() returns 1 and sets the external variable _e_r_r_n_o (see intro(2)).
BBUUGGSS
There is no way to simulate system calls such as pipe(2).
HHIISSTTOORRYY
The ssyyssccaallll function call appeared in 4.0BSD.
4th Berkeley Distribution March 10, 1991 1