Next: Documentation, Previous: Program Behavior, Up: Top [Contents][Index]
This chapter provides advice on how best to use the C language when writing GNU software.
| • Formatting: | Formatting your source code. | |
| • Comments: | Commenting your work. | |
| • Syntactic Conventions: | Clean use of C constructs. | |
| • Names: | Naming variables, functions, and files. | |
| • System Portability: | Portability among different operating systems. | |
| • CPU Portability: | Supporting the range of CPU types. | |
| • System Functions: | Portability and “standard” library functions. | |
| • Internationalization: | Techniques for internationalization. | |
| • Character Set: | Use ASCII by default. | |
| • Quote Characters: | Use "..." or ’...’ in the C locale. | |
| • Mmap: | How you can safely use mmap.
|