Type Checking (Windows CE 5.0)
Developing an Application > Microsoft C Run-time Library for Windows CE > C Run-time Libraries
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
Microsoft C Run-time Library for Windows CE | Run-time Routines by Category
Send Feedback on this topic to the authors