notify_register_signal(_:_:_:)
Declaration
func notify_register_signal(_ name: UnsafePointer<CChar>!, _ sig: Int32, _ out_token: UnsafeMutablePointer<Int32>!) -> UInt32Parameters
- name:
(Input) notification name
- sig:
(Input) signal number (see signal(3))
- out_token:
(Output) notification token
Return Value
Returns status.
Discussion
Request notification delivery by UNIX signal.
A client may request signal notification for multiple names. After a signal is delivered, the notify_check() routine may be called with each notification token to determine which name (if any) generated the signal notification.