POSIX conformance

This appendix describes how the BlackBerry 10 OS conforms to POSIX. It's based on the documentation submitted for the QNX Neutrino 6.4.0 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
      
    

Last modified: 2014-12-11



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

comments powered by Disqus