Function, Parameter(s), Return Value | Description |
---|---|
alarm() | function name |
unsigned seconds | Seconds to raise an alarm or 0 to cancel any pending alarm |
>= 0 | 0 if no other alarm was pending, else the number of seconds the pending alarm still had open. This function won't fail. |
- | - |
kill() | function name |
pid_t pid | . |
int sig | 0 or signal ID |
0, -1 | On success 0 is returned, -1 on failure with setting errno to EINVAL , EPERM or ESRCH . |