Description
Book SynopsisThe lint program is one of the best tools for finding portability problems and certain types of coding errors in C programs. This handbook introduces lint, provides a guide to running it on programs, and shows how to interpret lint's output.
Table of ContentsPreface Scope of This Handbook Conventions Used in This Handbook Chapter 1 Introduction Chapter 2 Using lint Chapter 3 Dealing with lint's Concerns Casting: Tell the Compiler You Know Better /*LINT COMMENTS*/-Tell lint You Don't Care /*NOTREACHED*/ /*ARGSUSED*/ and /*VARARGS*/ /*LINTLIBRARY*/ /*NOSTRICT*/ and /*CANTHAPPEN*/ Specific Problems: The Delinting Handbook Chapter 4 Using lint in Detail Command Line Options Using lint with make Roll Your Own lint Library Chapter 5 Limits to lint printfck clash and shortc cchk check Chapter 6 Under the Hood Chapter 7 An Evaluation of lint Chapter 8 Future Directions Appendix A The Ten Commandments for C Programmers Appendix B A Very Brief History of UNIX Research USG Berkeley Appendix C Supplemental Programs Bibliography Index