Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ timer_delete(3R) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

timer_create(3R)

attributes(5)

timer_delete(3R)

NAME

timer_delete − delete a per-LWP timer

SYNOPSIS

cc [ flag ... ] file ... −lposix4 [ library ... ]

#include <time.h>

int timer_delete(timer_t timerid);

DESCRIPTION

timer_delete() deletes the specified timer, timerid, previously created by timer_create(3R).  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. 

ENOSYS timer_delete() is not supported by this implementation. 

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level MT-Safe with exceptions

SEE ALSO

timer_create(3R), attributes(5)

SunOS 5.6  —  Last change: 30 Dec 1996

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