Open System Services Porting Guide (G06.29+, H06.06+, J06.03+)
Use the following standard documents when porting code to the OSS environment:
• ISO/IEC 9899-1 C Programming Language Standard
• ISO/IEC 9945-1 POSIX.1 Standard
• ISO/IEC 9945-2 POSIX.2 Standard
Use the following specifications documents when porting code to the OSS environment:
• XPG4 System Interfaces and Headers, Issue 4, Version 2
• XPG4 Commands and Utilities, Issue 4, Version 2
• XPG4 Networking Services, Issue 4
• XPG4 System Interface Definitions, Issue 4, Version 2
Many commercially available texts describe how to write portable applications in C. The following
list includes books for porting and reference books for writing C and C++ programs for UNIX
environments:
• Arnold, Ken and John Peyton. A C User's Guide to ANSI C. Reading, MA: Addison & Wesley,
1992.
• Ellis, Margaret A. and Bjarne Stroustrup. The Annotated C++ Reference Manual. Reading,
MA: Addison & Wesley, 1990.
• Harbinson, Samuel P. and Guy L. Steel. C, A Reference Manual. Englewood Cliffs, NJ: Prentice
Hall, 1991.
• Horton, Mark. Portable C Software. Englewood Cliffs, NJ: Prentice Hall, 1990.
• Jaeschke, Rex. Portability and the C Language. CBM Books, 1989.
• Kernighan, Brian W. and Dennis M. Ritchie. The C Programming Language, Second Edition.
Englewood Cliffs, NJ: Prentice Hall, 1989.
• Lapin, J. E. Portable C and UNIX System Programming. Englewood Cliffs, NJ: Prentice Hall,
1987.
• Lewine, Donald. POSIX Programmer's Guide. Sebastopol, CA: O'Reilly & Associates, 1991.
• Nichols, Bradford, Dick Buttlar and Jacqueline Proulx Farrell, Pthreads Programming, O'Reilly
& Associates, 1998, 270 pp.
• Perley, Daniel. Migrating to Open Systems: Taming the Tiger. Berkeley, CA: McGraw Hill,
1993.
• Plauger, P. J. ANSI C and ISO Standard C Programmer’s Reference. Reading, MA: Addison
& Wesley, 1991.
• Plauger, P. J. The Standard C Reference. Englewood Cliffs, NJ: Prentice Hall, 1991.
• Plum, Thomas. Reliable Data Structures in C. Cardiff, NJ: Plum Hall, 1985.
• Rabinowitz, Henry and Chaim Schaap. Portable C. Englewood Cliffs, NJ: Prentice Hall, 1989.
• Stevens, W. R. Advanced Programming in the UNIX Environment. Reading, MA: Addison &
Wesley, 1992.
• Strake, David. C Style: Standards and Guidelines. Englewood Cliffs, NJ: Prentice Hall, 1992.
Related programmer’s guides are:
• C/C++ Programmer’s Guide. This guide describes the implementation of the C and C++
programming languages on HP NonStop systems. It discusses the C language syntax, the C
compiler, and the C program execution environment. This guide is intended for system and
application programmers writing programs for the Guardian and OSS environments.
• Guardian Programmer’s Guide. This guide describes how to access the Guardian API by
using Guardian procedure calls. It is written for application and system programmers.
Related Information 19