## NAME

timer_delete - delete a timer

## SYNOPSIS

#include <time.h>

int timer_delete(timer_t timerid );

## DESCRIPTION

timer_delete() deletes the specified timer, timerid, previously created by timer_create(). If the timer is armed when timer_delete() is called, the behavior is as if the timer is automatically disarmed before removal.

## RETURN VALUES

timer_delete() returns 0 upon success, otherwise it returns -1 and sets errno to indicate the error condition.

## ERRORS

EINVAL
  timerid does not refer to a valid timer.

## SEE ALSO

timer_create()

#### Home page (Kernel)

## < Copyright Rowebots Research Inc. and Multiprocessor Toolsmiths Inc. 1987-2018 >