________________________________________________________________________
Applicable Environment
________________________________________________________________________
- Topic: Sample programs discussed in QNX Neutrino Cookbook: Recipes for Programmers
- SDP: 6.5.0, 6.6.0, 7.0.0, 7.1.0
- Host/Target: Any supported host/target
________________________________________________________________________
Recommendation
________________________________________________________________________
The QNX Neutrino Cookbook: Recipes for Programmers provides “recipes” that will help you understand how to design and write programs that run on the QNX Neutrino RTOS. There's a separate archive of the source code for the programs that the book describes, which you can find attached here:
1. Web-Counter resource manager
2. ADIOS (Analog / Digital I/O Server)
3. RAM-disk and tar filesystem managers
4. The /proc filesystem
The top-level directories in the archive include:
web/
The web counter source code, in three phases (one directory for each version).
adios/
The ADIOS (Analog/Digital I/O Server) utility, including showsamp, tag, and the required libraries.
fsys/
The RAM Disk filesystem, the .tar filesystem, and a library used by both.
procfs/
The procfs utility from the /proc filesystem appendix.
Most directories include the following:
version.c, a string that states the version number of the program
main.use, the usage message
Makefile
________________________________________________________________________
NOTE:
This entry has been validated against the SDP version listed above. Use
caution when considering this advice for any other SDP version. For
supported releases, please reach out to QNX Technical Support if you have any questions/concerns. ________________________________________________________________________