I. vfprintf
Function Name: vfprintf
Function: formatted data is output to the specified data stream.
Usage: int vfprintf (File * stream, char * format, va_list PARAM );
Function Description: vfprintf () will convert and format the data according to
Vprintf, vfprintf, and vsprintf
Syntax:
# Include # include int vprintf (char * format, va_list arg_ptr); int vfprintf (File * stream, const char * format, va_list arg_ptr); int vsprintf (char * buffer, char * format, va_list
The variable parameter function of C languageThere are many places in the UCC compiler that use the C-language variable parameter function, where we specifically use a section to analyze the implementation principle of the C-language
A variable parameter means that the number of parameters can vary, can be much less, also indicates that the type of the parameter can also be changed, can be int,double can be char*, class, struct and so on. Variable parameters are the key to
A variable parameter indicates that the number of parameters can be changed. It can be more or less, or the type of the parameter can also be changed. It can be int, double, char *, class, struct, and so on. Variable parameters are the key to
C Language Self-study gradually came to an end, today learned the standard library of the Stdarg.h head, which is associated with the stdio.h head inside a class of functions: v...printf function, the example of the inside to see after still do not
In the back-end code, the log everywhere, the design of their own set of log management code, provide a good set of log interface will greatly facilitate the development of code.In the writing of log management code, there are the following
The variable parameter means that the number of parameters can change, can be more or less, also indicate the types of parameters can also change, can be int,double can also be char*, class, structure and so on. A variable parameter is the key to
IntroductionSome time ago, we had Transplanted the kernel of uClinux-2.0.x and uClinux-2.4.x,I basically started from scratch, Linux does not support the Code of this target machine, so thisMigration is basically a new support for a target machine.
Original address: http://blog.csdn.net/morewindows/article/details/6707662Variable parameter means that the number of parameters can change, can be less, also indicates that the type of the parameter can also change, can be int,double can also be
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.