hwi_next_tag()

Find the next tag in the hwinfo structure

Synopsis:

#include <hw/sysinfo.h>

unsigned hwi_next_tag( unsigned off,
                       int curr_item );

Since:

BlackBerry 10.0.0

Arguments:

off
The offset, in bytes from the start of the hwinfo section, to start from.
curr_item
If this argument is nonzero, the search stops at the end of the current item (i.e. the one that start points to). If curr_item is zero, the search continues until the end of the section.

Library:

libc

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).

Description:

The hwi_next_tag() function finds the next tag after the given offset.

Returns:

The offset of the tag, or HWI_NULL_OFF if there isn't another tag.

Examples:

See hwi_next_item().

Classification:

QNX Neutrino

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

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus