timer_delete()

delete a per-process timer 

Realtime Function


SYNOPSIS

#include <time.h>

int timer_delete(timer_t timerid);


DESCRIPTION

The timer_delete() function deletes the timer specified by timerid. This timer, if armed, is automatically disarmed before being deleted. timer is unspecified.


PARAMETERS

timerid 

Specifies the timer ID of the timer to be deleted. This is the value stored by timer_create() when the timer was created.


RETURN VALUES

When successful, timer_delete() returns 0.

Otherwise, it returns -1 and sets errno to one of the following:

EINVAL 

The timerid value is not a valid timer ID.


CONFORMANCE

UNIX 03.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

api_intro

Functions:
timer_create()


PTC MKS Toolkit 10.4 Documentation Build 39.