Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

hwi_off2tag()

Return a pointer to the start of a tag in the hwinfo area of the system page

Synopsis:

#include <hw/sysinfo.h>

void * hwi_off2tag( unsigned offsect );

Arguments:

offsect
The offset, in bytes from the start of the hwinfo section, of a tag.

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:

The hwi_off2tag() function returns a pointer to the start of the tag, given an offset.

Returns:

A pointer to the start of the tag.

Classification:

QNX Neutrino

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

See also:

hwi_find_item(), hwi_find_tag(), hwi_tag2off()

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