POSIX Conformance

This appendix describes how BlackBerry PlayBook OS conforms to POSIX. It's based on the documentation submitted for the QNX Neutrino certification of compliance as a PSE52 Realtime Controller 1003.13-2003 System.

To set up an environment that conforms to POSIX, do the following:

  • Specify the -m~b option to procnto in your buildfile, to make the kernel perform POSIX error checking for arguments to mapped file operations.
  • Set the POSIXLY_CORRECT environment variable to 1.
  • Explicitly configure the compiler for C99 compatibility. For example, with a gcc-4.2.1 compiler:
    qcc -V4.2.1,gcc_ntox86 -Wc,-std=c99