1 1 5 Making The Best Use of C 1 ************************** 1 1 This chapter provides advice on how best to use the C language when 1 writing GNU software. 1
1 · 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'. 1