Using qh.h

QNX SDP8.0QNX Helpers Developer's GuideAPIDeveloper

In most cases, you do not have to include qh.h because it is included by all other QNX helper headers.

After qh.h is included, QH_FILENAME is available to the source file and contains the filename specified by __FILE__. If you are using a GNU compiler, QH_FILENAME is FILE with the path removed and QH_FILENAME_HAS_FULLPATH is false; otherwise, QH_FILENAME is __FILE__ and QH_FILENAME_HAS_FULLPATH is true. (Note that qh.h doesn't include stdbool.h.) If QH_FILENAME_HAS_FULLPATH is false, QH_SHORT_FILENAME_DEFINED is defined.
Page updated: