Content-type: text/html Man page of timer_delete

timer_delete

Section: C Library Functions (3)
Index Return to Main Contents
 

NAME

timer_delete - Deallocate a previously allocated per-process timer (P1003.1b)  

SYNOPSIS

#include <time.h>

int timer_delete (
timer_t timerid);  

PARAMETERS

timerid
The timer ID for the timer which is to be deallocated.
 

DESCRIPTION

The timer_delete function frees a per-process timer previously allocated by a call to the timer_create function. If the timer is armed when the timer_delete function is called, the timer is disarmed and then removed. No signal is sent if the timer is deallocated with the timer_delete function.  

RETURN VALUES

On a successful call, a value of 0 is returned.

On an unsuccessful call, a value of -1 is returned and errno is set to indicate that an error occurred.  

ERRORS

The timer_delete function fails under the following condition:

[EINVAL]
The timer ID specified by timerid is not a valid timer ID.
 

RELATED INFORMATION

Functions: timer_create(3) delim off


 

Index

NAME
SYNOPSIS
PARAMETERS
DESCRIPTION
RETURN VALUES
ERRORS
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:41:39 GMT, October 02, 2010