hwi_tag2off()

Updated: April 19, 2023

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.

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