Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/5/2010
The compiler performs limited type checking on functions that can take a variable number of arguments, as follows:
| Function Call | Type-Checked Arguments |
|---|---|
printf, scanf |
First argument (format string) |
fprintf, fscanf, sprintf, sscanf |
First two arguments (file or buffer and format string) |
_snprintf |
First three arguments (file or buffer, count, and format string) |
The compiler performs the same limited type checking on the wide-character counterparts of these functions.
See Also
Concepts
C Run-Time Library Overview
Run-Time Routines by Category