timer_settime   Début   Suivant   Sommaire   Préc.page.lue   Accueil
Section: Linux Programmer's Guide (2)
Updated: 2004-March-12
Sommaire  



NAME   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil
timer_settime - Set the time on a POSIX.1b interval timer  



SYNOPSIS   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil
long sys_timer_settime (timer_t timer_id, int flags, const struct itimerspec *new_setting, struct itimerspec *old_setting);
 



DESCRIPTION   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil

time_settime arms the time and sets the time if the new_setting struct member it_value is non-zero, until the next expiration of the timer specified by timer_id. If the timer was already armed when timer_settime was called, the call resets the time until the next expiration to new_setting. If the it_value of new_setting is zero, then the timer is disarmed. If old_setting is non-NULL, the function stores the previous amount of time before the timer would have expired, or zero if the timer was disarmed along withthe previous timer reload value in this argument.  




RETURN VALUE   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil

timer_settime returns 0 on success. Otherwise, timer_settime returns the errors listed in the "Errors" section.  




ERRORS   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil
-EINVAL
An invalid timer_id value was specified.
-EFAULT
The new_setting valid is invalid.
 



SEE ALSO   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil

timer_create(2), timer_delete(2), timer_getovverun(2), timer_gettime(2).  




AUTHOR   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil
Niki Rahimi.


 



Sommaire   Début   Suivant   Sommaire   Préc.page.lue   Accueil
NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO
AUTHOR

Ce document a été créé par man2html suivi de man2html.pl, le 17/10/2008 17:51:42, en utilisant les pages de 'man'.
 

Valid HTML 4.01 Transitional