Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference (Volume 7 of 9): Section 3: Library Functions (N-Z) > r

rmtimer(3C)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

rmtimer — free a per-process timer

SYNOPSIS

#include <sys/timers.h>

int rmtimer(timer_t timerid);

DESCRIPTION

The rmtimer() function is used to free a previously allocated timer (returned by mktimer(). Any pending timer event to be generated by this timer has been canceled when the call returns.

APPLICATION USAGE

rmtimer() is thread-safe. It is not async-cancel-safe.

RETURN VALUE

Upon successful completion, rmtimer() returns zero; otherwise, it returns -1 and sets errno to indicate the error.

ERRORS

rmtimer() fails if the following condition is encountered:

[EINVAL]

timerid is not a valid timer ID.

FILES

/usr/include/sys/timers.h

STANDARDS CONFORMANCE

rmtimer(): AES

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2000 Hewlett-Packard Development Company, L.P.