*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> timer_delete (3)              



NAME    [Toc]    [Back]

       timer_delete - Deallocates a previously allocated per-process
 timer (P1003.1b)

SYNOPSIS    [Toc]    [Back]

       #include <time.h>

       int timer_delete ( timer_t timerid);

LIBRARY    [Toc]    [Back]

       Realtime Library (librt.so, librt.a)

PARAMETERS    [Toc]    [Back]

       The timer ID for the timer which is to be deallocated.

DESCRIPTION    [Toc]    [Back]

       The timer_delete function frees a per-process timer previously
  allocated  by  a call to the timer_create function.
       If the timer is armed when the  timer_delete  function  is
       called,  the timer is disarmed and then removed. No signal
       is sent if the timer is deallocated with the  timer_delete

RETURN VALUES    [Toc]    [Back]

       On a successful call, a value of 0 (zero) is returned.

       On  an  unsuccessful  call,  a value of -1 is returned and
       errno is set to indicate that an error occurred.

ERRORS    [Toc]    [Back]

       The timer_delete function fails under the following condition:
  The  timer  ID  specified by timerid is not a valid
       timer ID.

SEE ALSO    [Toc]    [Back]

       Functions: timer_create(3)

       Guide to Realtime Programming

[ Back ]
 Similar pages
Name OS Title
nanosleep Tru64 Suspends a process from execution for the specified timer interval (P1003.1b)
rmfree Tru64 General: Frees space previously allocated into the specified resource map
contig_free Tru64 General: Frees a block of memory previously allocated by contig_malloc
sem_close Tru64 Deallocates the specified named semaphore (P1003.1b)
FREE Tru64 General: Deallocates (frees) the allocated kernel virtual memory
gettimer Tru64 Get value of a per-process timer
timer_create Tru64 Allocates a per-process timer
rmtimer Tru64 Free a per-process timer
mktimer Tru64 Allocate a per-process timer
sched_setparam Tru64 Sets the scheduling parameters of the specified process (P1003.1b)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service