|
|
IRIX 6.4 » Books » Developer »
C Language Reference Manual
(document number: 007-0701-130 / published: 1999-05-21)
table of contents | additional info | download find in page
Appendix B. lint-style Comments
Table B-1, lists the lint-style comments available with the Silicon Graphics C compiler, along with a short description. See the lint(1) reference page for more details.
Table B-1. lint-style Comments
Comment
| Short Description
|
|---|
/*PRINTFLIKEn*/
| Applies lint-style check to the first (n-1) arguments as usual. The nth argument is interpreted as a printf format string that is used to check the remaining arguments.
| /*SCANFLIKEn*/
| Applies lint-style check to the first (n-1) arguments as usual. The nth argument is interpreted as a scanf format string that is used to check the remaining arguments.
| /*ARGSUSEDn*/
| Applies lint-style check to only the first n arguments for usage; a missing n is taken to be 0 (this option acts like the -v option for the next function).
| /*VARARGSn*/
| Suppresses the usual checking for variable numbers of arguments in the following function declaration. The data types of the first n arguments are checked; a missing n is taken to be 0. The use of the ellipsis terminator (...) in the definition is suggested in new or updated code.
| /*NOTREACHED*/
| Stops comments about unreachable code when placed at appropriate points. (This comment is typically placed just after calls to functions like exit).
| /*REFERENCED*/
| Tells the compiler that the variable defined after comment is referenced.
|
C Language Reference Manual
(document number: 007-0701-130 / published: 1999-05-21)
table of contents | additional info | download
Front Matter
New Features
About This Manual
Chapter 1. An Overview of ANSI C
Chapter 2. C Language Changes
Chapter 3. Lexical Conventions
Chapter 4. Meaning of Identifiers
Chapter 5. Operator Conversions
Chapter 6. Expressions and Operators
Chapter 7. Declarations
Chapter 8. Statements
Chapter 9. External Definitions
Chapter 10. Multiprocessing Directives
Chapter 11. Multiprocessing Advanced Features
Chapter 12. Parallel Programming on Origin Servers
Chapter 13. The Auto-Parallelizing Option (APO)
Appendix A. Implementation-Defined Behavior
Appendix B. lint-style Comments
Appendix C. Built-in Functions
home/search |
what's new |
help
|
|
|