Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/rt/rttimersettime.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/rt/rttimersettime.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/rt/rttimersettime.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/rt/rttimersettime.html on line 8
Set the expiration time for a realtime timer
#include <photon/realtime/RtTimer.h>
int RtTimerSetTime( RtTimer_t *timer,
int flags,
struct itimerspec *value,
struct itimerspec *ovalue );
- timer
- A pointer to a RtTimer_t that was created by a call to
RtTimerCreate().
- flags
- See
timer_settime()
in the QNX Neutrino Library Reference.
- value
- A pointer to a itimerspec structure that defines the
new expiration time.
- ovalue
- If non-NULL, a pointer to a itimerspec
structure in which to store the old expiration time.
ph
This function sets the expiration time for the timer identified by the
structure pointed to by timer to the time specified by
value.
- 0
- Success.
- -1
- An error occurred; errno is set.
See timer_settime() in the QNX Neutrino Library Reference.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
RtTimerCreate(),
RtTimerDelete(),
RtTimerGetTime()
timer_settime()
in the QNX Neutrino Library Reference
“Timers”
in the Working with Code chapter of the
Photon Programmer's Guide
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/rt/rttimersettime.html on line 147
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/rt/rttimersettime.html on line 147