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/h/hwi_tag2off.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/h/hwi_tag2off.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/h/hwi_tag2off.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/h/hwi_tag2off.html on line 8

hwi_tag2off()

Return the offset from the start of the hwinfo area of the system page

Synopsis:

#include <hw/sysinfo.h>

unsigned hwi_tag2off( void *tag );

Arguments:

tag
A pointer to a tag in the hwinfo area of the system page.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.


Note: This function is in libc.a, but not in libc.so (in order to save space).

Description:

Given a pointer to the start of a tag, the hwi_tag2off() function returns the offset, in bytes, from the beginning of the start of the hwinfo section.

Returns:

The offset of the tag, in bytes.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes

See also:

hwi_find_item(), hwi_find_tag(), hwi_off2tag()

Structure of the system page in the Customizing Image Startup Programs chapter of Building Embedded Systems


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/h/hwi_tag2off.html on line 126

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/h/hwi_tag2off.html on line 126