home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / catD / proc_signal.z / proc_signal
Encoding:
Text File  |  1998-10-30  |  3.7 KB  |  66 lines

  1.  
  2.  
  3.  
  4. pppprrrroooocccc____ssssiiiiggggnnnnaaaallll((((DDDD3333))))                                                pppprrrroooocccc____ssssiiiiggggnnnnaaaallll((((DDDD3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _pppp_rrrr_oooo_cccc______ssss_iiii_gggg_nnnn_aaaa_llll - send a signal to a process
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_ssss_iiii_gggg_nnnn_aaaa_llll_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
  14.      _iiii_nnnn_tttt _pppp_rrrr_oooo_cccc______ssss_iiii_gggg_nnnn_aaaa_llll_((((_vvvv_oooo_iiii_dddd _****_p_r_e_f_,,,, _iiii_nnnn_tttt _s_i_g_))))_;;;;
  15.  
  16.    AAAArrrrgggguuuummmmeeeennnnttttssss
  17.      _p_r_e_f      Identifier obtained by a previous call to _pppp_rrrr_oooo_cccc______rrrr_eeee_ffff(D3).
  18.  
  19.      _s_i_g       Signal number to be sent.
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      The _pppp_rrrr_oooo_cccc______ssss_iiii_gggg_nnnn_aaaa_llll function can be used to post a signal to the process
  23.      represented by _p_r_e_f.  This will interrupt any process blocked in
  24.      _SSSS_VVVV______WWWW_AAAA_IIII_TTTT______SSSS_IIII_GGGG(D3) or _SSSS_LLLL_EEEE_EEEE_PPPP______LLLL_OOOO_CCCC_KKKK______SSSS_IIII_GGGG(D3) at the time the signal is posted,
  25.      causing those functions to return prematurely in most cases.  If the
  26.      process has exited then this function has no effect.
  27.  
  28.    RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
  29.      If the process still exists, 0 is returned.  Otherwise, -1 is returned to
  30.      indicate that the process no longer exists.
  31.  
  32. UUUUSSSSAAAAGGGGEEEE
  33.      Valid signal numbers are listed in _ssss_iiii_gggg_nnnn_aaaa_llll_ssss(D5).
  34.  
  35.      STREAMS drivers and modules should not use this mechanism for signaling
  36.      processes.  Instead, they can send _MMMM______SSSS_IIII_GGGG or _MMMM______PPPP_CCCC_SSSS_IIII_GGGG STREAMS messages to
  37.      the stream head.
  38.  
  39.      _pppp_rrrr_oooo_cccc______ssss_iiii_gggg_nnnn_aaaa_llll must not be used to send _SSSS_IIII_GGGG_TTTT_SSSS_TTTT_PPPP to a process.
  40.    LLLLeeeevvvveeeellll
  41.      Base or Interrupt.
  42.  
  43.    SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss
  44.      Does not sleep.
  45.  
  46.      Driver-defined basic locks, read/write locks, and sleep locks may be held
  47.      across calls to this function.
  48.  
  49. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
  50.      _pppp_rrrr_oooo_cccc______rrrr_eeee_ffff(D3), _pppp_rrrr_oooo_cccc______uuuu_nnnn_rrrr_eeee_ffff(D3), _ssss_iiii_gggg_nnnn_aaaa_llll_ssss(D5)
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                                                         PPPPaaaaggggeeee 1111
  62.  
  63.  
  64.  
  65.