+612 9045 4394
Checking C Programs With Lint : Nutshell Handbooks for C Program - Ian F. Darwin

Checking C Programs With Lint

Nutshell Handbooks for C Program


Published: 11th October 1988
Ships: 7 to 10 business days
7 to 10 business days
RRP $33.99

The lint program checker has proven time and again to be one of the best tools for finding portability problems and certain types of coding errors in C programs. This book introduces you to lint, guides you through running it on your programs, and helps you to interpret lint's output.

lint verifies a program or program segments against standard libraries, checks the code for common portability errors, and tests the programming against some tried and true guidelines. linting your code is a necessary (though not sufficient) step in writing clean, portable, effective programs.

Contents include:

  • Overview of using lint
  • Dealing with lint' concerns: casting and delinting
  • lint comments
  • Using lint in detail: command line options, using lint with make, rolling your own lint library
  • Public domain programs
  • Under the hood: an inside look
  • Future directions

Preface 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

ISBN: 9780937175309
ISBN-10: 0937175307
Series: Nutshell Handbooks for C Program
Audience: Professional
Format: Paperback
Language: English
Number Of Pages: 90
Published: 11th October 1988
Country of Publication: US
Dimensions (cm): 21.59 x 13.97  x 1.27
Weight (kg): 0.11
Edition Type: Revised