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/neutrino/lib_ref/i/iofunc_time_update.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/neutrino/lib_ref/i/iofunc_time_update.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/neutrino/lib_ref/i/iofunc_time_update.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/neutrino/lib_ref/i/iofunc_time_update.html on line 8
Update time stamps
#include <sys/iofunc.h>
int iofunc_time_update( iofunc_attr_t* attr );
- attr
- A pointer to the
iofunc_attr_t
structure that describes the characteristics of the device that's
associated with your resource manager.
libc
Use the -l c option to
qcc
to link against this library.
This library is usually included automatically.
The iofunc_time_update() function examines the flags
member in the passed attr structure against the bits
IOFUNC_ATTR_ATIME, IOFUNC_ATTR_MTIME,
and IOFUNC_ATTR_CTIME.
If any of these bits are set, the corresponding
time member of attr (e.g. attr->atime)
isn't valid.
This function updates all invalid
attr members to the current time.
If iofunc_time_update() makes any change to the attr
structure's time members, it sets IOFUNC_ATTR_DIRTY_TIME in
the attr structure's flags member.
This function always clears the IOFUNC_ATTR_ATIME,
IOFUNC_ATTR_MTIME, and IOFUNC_ATTR_CTIME bits
from attr->flags.
- EOK
- Successful completion.
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |
iofunc_attr_t
Writing a Resource Manager
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/neutrino/lib_ref/i/iofunc_time_update.html on line 143
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/neutrino/lib_ref/i/iofunc_time_update.html on line 143