Notes on Writing Portable Programs in C

A. Dolenc
A. Lemmke
Helsinki University of Technology
D. Keppel
CS&E, University of Washington
G. V. Reilly
Dept. of Computer Science, Brown University


ABSTRACT

This documents describes the features and non-features of different C preprocessors, compilers, and environments. As such, it is an incomplete document, growing as information is gathered. It contains some material concerning ANSI C but it is not a substitute for the Standard itself; neither are related textbooks. We assume the reader is familiar with the C programming language.


  1. Foreword
  2. Introduction
  3. Standardization Efforts
  4. Preprocessors
  5. The Language
  6. Unix Flavors: System V and BSD
  7. Header Files
  8. Run-time Library
  9. Using Floating-Point Numbers
  10. VMS
  11. General Guidelines
  12. Further Reading
  13. Acknowledgements
  14. Trademarks
  15. References

Notes on Writing Portable Programs in C. (Nov 1990, 8th Revision)

Original source (LaTeX and PostScript): ftp.cs.washington.edu:/pub/cport.tar.Z

Converted to HTML by Paul Selkirk, 3 March 1995

nextForeword