---
title: "notify_register_signal(_:_:_:)"
framework: Darwin Notify
role: symbol
role_heading: Function
path: "darwinnotify/notify_register_signal(_:_:_:)"
---

# notify_register_signal(_:_:_:)

## Declaration

```swift
func notify_register_signal(_ name: UnsafePointer<CChar>!, _ sig: Int32, _ out_token: UnsafeMutablePointer<Int32>!) -> UInt32
```

## Parameters

- `name`: (Input) notification name
- `sig`: (Input) signal number (see signal(3))
- `out_token`: (Output) notification token

## Return Value

Return Value Returns status.

## Discussion

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.

## See Also

### Miscellaneous

- [notify_cancel(_:)](darwinnotify/notify_cancel(_:).md)
- [notify_check(_:_:)](darwinnotify/notify_check(_:_:).md)
- [notify_get_state(_:_:)](darwinnotify/notify_get_state(_:_:).md)
- [notify_post(_:)](darwinnotify/notify_post(_:).md)
- [notify_register_check(_:_:)](darwinnotify/notify_register_check(_:_:).md)
- [notify_register_dispatch(_:_:_:_:)](darwinnotify/notify_register_dispatch(_:_:_:_:).md)
- [notify_register_mach_port(_:_:_:_:)](darwinnotify/notify_register_mach_port(_:_:_:_:).md)
- [notify_resume(_:)](darwinnotify/notify_resume(_:).md)
- [notify_set_state(_:_:)](darwinnotify/notify_set_state(_:_:).md)
- [notify_suspend(_:)](darwinnotify/notify_suspend(_:).md)
