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.

Examples:

See hwi_next_item().

Classification:

QNX Neutrino

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