home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / man / cat2 / syscall.0 < prev    next >
Text File  |  1993-12-07  |  1KB  |  67 lines

  1.  
  2. SYSCALL(2)                 UNIX Programmer's Manual                 SYSCALL(2)
  3.  
  4. NNAAMMEE
  5.      ssyyssccaallll - indirect system call
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<uunniissttdd..hh>>
  9.      ##iinncclluuddee <<ssyyss//ssyyssccaallll..hh>>
  10.  
  11.      _i_n_t
  12.      ssyyssccaallll(_i_n_t _n_u_m_b_e_r, _._._.)
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      SSyyssccaallll() performs the system call whose assembly language interface has
  16.      the specified _n_u_m_b_e_r with the specified arguments.  Symbolic constants
  17.      for system calls can be found in the header file <_s_y_s_c_a_l_l_._h>.
  18.  
  19. RREETTUURRNN VVAALLUUEESS
  20.      The r0 value of the system call is returned.  When the C­bit is set,
  21.      ssyyssccaallll() returns ­1 and sets the external variable _e_r_r_n_o (see intro(2)).
  22.  
  23.  
  24. BBUUGGSS
  25.      There is no way to simulate system calls such as pipe(2).
  26.  
  27. HHIISSTTOORRYY
  28.      The ssyyssccaallll function call appeared in 4.0BSD.
  29.  
  30. 4th Berkeley Distribution       March 10, 1991                               1
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.