proc_signal man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



proc_signal(D3)						       proc_signal(D3)

NAME
     proc_signal - send a signal to a process

SYNOPSIS
     #include <sys/signal.h>
     #include <sys/ddi.h>
     int proc_signal(void *pref, int sig);

   Arguments
     pref      Identifier obtained by a previous call to proc_ref(D3).

     sig       Signal number to be sent.

DESCRIPTION
     The proc_signal function can be used to post a signal to the process
     represented by pref.  This will interrupt any process blocked in
     SV_WAIT_SIG(D3) or SLEEP_LOCK_SIG(D3) at the time the signal is posted,
     causing those functions to return prematurely in most cases.  If the
     process has exited then this function has no effect.

   Return Values
     If the process still exists, 0 is returned.  Otherwise, -1 is returned to
     indicate that the process no longer exists.

USAGE
     Valid signal numbers are listed in signals(D5).

     STREAMS drivers and modules should not use this mechanism for signaling
     processes.	 Instead, they can send M_SIG or M_PCSIG STREAMS messages to
     the stream head.

     proc_signal must not be used to send SIGTSTP to a process.

   Level
     Base

   Synchronization Constraints
     Can sleep.

     Driver-defined read/write locks, and sleep locks may be held across calls
     to this function.

REFERENCES
     proc_ref(D3), proc_unref(D3), signals(D5)

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net