Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

timer_create(3P4)

timer_settime(3P4)

timer_gettime(3P4)

timer_delete(3P4)

NAME

timer_delete − free a per-process timer ID

SYNOPSIS

#include <sys/types.h>
#include <time.h>

int timer_delete(timerid)
timer_t          timerid

DESCRIPTION

The timer_delete function removes the specified POSIX.4 per-process timer, timerid previously allocated by the timer_create(3P4) function.  If the timer is armed by means of the timer_settime(3P4) function when timer_delete is called, the timer is disarmed before removal. 

RETURN VALUE

Upon successful completion, the timer_delete function returns a zero.  If any of the following conditions occur, the timer_delete function shall return -1 and set errno to the corresponding value:

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

FILES

/usr/lib/libposix4.a

SEE ALSO

timer_create(3P4), timer_settime(3P4), timer_gettime(3P4). 

WARNING

The interface to timer_delete is based on IEEE Draft Standard P1003.4/D12.  This is an unapproved draft, subject to change.  Use of information contained in this unapproved draft is at your own risk.  This interface will change to reflect any changes made by future drafts of POSIX 1003.4. 

CX/UX Programmer’s Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026