home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat2 / standard / sgi_revoke.z / sgi_revoke
Encoding:
Text File  |  2002-10-03  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. SSSSGGGGIIII____RRRREEEEVVVVOOOOKKKKEEEE((((2222))))                                                    SSSSGGGGIIII____RRRREEEEVVVVOOOOKKKKEEEE((((2222))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      sgi_revoke - revoke access to a file
  10.  
  11. CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////mmmmaaaacccc____llllaaaabbbbeeeellll....hhhh>>>>
  13.      iiiinnnntttt ssssggggiiii____rrrreeeevvvvooookkkkeeee((((cccchhhhaaaarrrr ****ffffnnnnaaaammmmeeee))));;;;
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      The _s_g_i__r_e_v_o_k_e system call invalidates all currently open file
  17.      descriptors referencing the file named by ffffnnnnaaaammmmeeee.
  18.  
  19.      _s_g_i__r_e_v_o_k_e requires that the calling process have appropriate privilege.
  20.      If ____PPPPOOOOSSSSIIIIXXXX____CCCCAAAAPPPP is in effect, the appropriate capability is CCCCAAAAPPPP____DDDDEEEEVVVVIIIICCCCEEEE____MMMMGGGGTTTT.
  21.  
  22. EEEERRRRRRRROOOORRRRSSSS
  23.      _s_g_i__r_e_v_o_k_e will fail if one or more of the following are true:
  24.  
  25.      [EPERM]        The calling process lack appropriate privilege.
  26.  
  27.      [EINVAL]       The named file is not a character-special file.
  28.  
  29. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  30.      sleep(3), alarm(2), pause(2), schedctl(2), setitimer(2).
  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.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.