timer_delete.2freebsd

Langue: en

Version: 266072 (debian - 07/07/09)

Section: 2 (Appels système)


BSD mandoc

NAME

timer_delete - delete a per-process timer (REALTIME)

LIBRARY

Lb librt

SYNOPSIS

In time.h Ft int Fn timer_delete timer_t timerid

DESCRIPTION

The Fn timer_delete system call deletes the specified timer, Fa timerid , previously created by the timer_create2 system call. If the timer is armed when Fn timer_delete is called, the behavior is as if the timer is automatically disarmed before removal. Pending signals for the deleted timer are cleared.

RETURN VALUES

Rv -std

ERRORS

The Fn timer_delete system call will fail if:
Bq Er EINVAL
The timer ID specified by Fa timerid is not a valid timer ID.

SEE ALSO

timer_create2

STANDARDS

The Fn timer_delete system call conforms to St -p1003.1-2004

HISTORY

Support for POSIX per-process timer first appeared in Fx 7.0 .