delorie.com/djgpp/doc/libc/libc_161.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

_doprnt

Syntax

 
#include <stdio.h>

int _doprnt(const char *format, void *params, FILE *file);

Description

This is an internal function that is used by all the printf style functions, which simply pass their format, arguments, and stream to this function.

See section printf, for a discussion of the allowed formats and arguments.

Return Value

The number of characters generated is returned.

Portability

ANSI/ISO C No
POSIX No

Example

 
int args[] = { 1, 2, 3, 66 };
_doprnt("%d %d %d %c\n", args, stdout);


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004