QNX Developer Support
|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Return the offset from the start of the hwinfo area of the system page
#include <hw/sysinfo.h> unsigned hwi_tag2off( void *tag );
- A pointer to a tag in the hwinfo area of the system page.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
|This function is in libc.a, but not in libc.so (in order to save space).|
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.
The offset of the tag, in bytes.
"Structure of the system page" in the Customizing Image Startup Programs chapter of Building Embedded Systems