Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rmtimer(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gettimer(3)

mktimer(3)

reltimer(3)

rmtimer(3)  —  Subroutines

NAME

rmtimer − Free a per-process timer

SYNOPSIS

#include <sys/timers.h>
int rmtimer(
        timer_t timer_id );

LIBRARY

Standard C Library (libc)

PARAMETERS

timer_id
Specifies the per-process timer to deallocate.

DESCRIPTION

The rmtimer() function is used to free a previously allocated per-process timer (previously returned by the mktimer() function). Any pending per-process timer event generated by the timer specified by the timer_id parameter is canceled when this function successfully executes. 

NOTES

AES Support Level:
Trial use

RETURN VALUES

Upon successful completion, the value 0 (zero) is returned. Otherwise, the value -1 is returned and errno is set to indicate the error. 

ERRORS

If the rmtimer() function fails, errno may be set to the following value:

[EINVAL]
The timerid parameter does not specify an allocated per-process timer. 

SEE ALSO

Functions: gettimer(3), mktimer(3), reltimer(3)

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