Query: mktimer
OS: hpux
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
mktimer(3C) mktimer(3C)NAMEmktimer - allocate a per-process timerSYNOPSISDESCRIPTIONThe function is used to allocate a per-process timer using the specified system-wide clock as the timing base. returns an unique timer ID of type used to identify the timer in timer requests (see gettimer(3C)). specifies the system-wide clock to be used as the timing base for the new timer. specifies the mechanism by which the process is to be notified when the timer expires. supports one per-process timer with a of and of If is the system causes a signal to be sent to the process whenever the timer expires. For the machine-dependent clock resolution and maximum value are and seconds, respectively. These constants are defined inRETURN VALUEUpon successful completion, returns a which can be passed to the per_process timer calls. If unsuccessful, returns a value of and sets to indicate the error.ERRORSfails if any of the following conditions are encountered: [EAGAIN] The calling process has already allocated all of the timers it is allowed. [EINVAL] is not defined, or does not allow the specified notification mechanism.FILESSEE ALSO timers(2), getclock(3C), gettimer(3C), reltimer(3C), rmtimer(3C), setclock(3C), thread_safety(5).STANDARDS CONFORMANCEmktimer(3C)
Related Man Pages |
---|
timer_create(3rt) - sunos |
timer_delete(2) - hpux |
getitimer(2) - hpux |
reltimer(3c) - hpux |
reltimer(3) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Kshell scripts and timing |
Simple script? First timer... |
60 second Timer with Shell Script |
Microsecond timer and printf issues in C++ |
Bash - countdown timer |