home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / ansi / stdio / doprnt.txh < prev    next >
Encoding:
Text File  |  1995-07-10  |  616 b   |  29 lines

  1. @node _doprnt, stdio
  2. @subheading Syntax
  3.  
  4. @example
  5. #include <stdio.h>
  6.  
  7. int _doprnt(const char *format, void *params, FILE *file);
  8. @end example
  9.  
  10. @subheading Description
  11.  
  12. This is an internal function that is used by all the @code{printf} style
  13. functions, which simply pass their format, arguments, and stream to this
  14. function. 
  15.  
  16. @xref{printf} for a discussion of the allowed formats and arguments. 
  17.  
  18. @subheading Return Value
  19.  
  20. The number of characters generated is returned.
  21.  
  22. @subheading Example
  23.  
  24. @example
  25. int args[] = @{ 1, 2, 3, 66 @};
  26. _doprnt("%d %d %d %c\n", args, stdout);
  27. @end example
  28.  
  29.