Partager via


Type Checking (Windows Embedded CE 6.0)

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

Other Resources

C/C++ Libraries for Windows Embedded CE