IOpprintf

Top  Previous  Next

printf after file PROTO.

With IOpprintf an issue is carried out in the protocol file by Moskito. The functionality corresponds to that of a call from printf in C. Therefore, every call needs a format string and a variable number of parametres. The file is called PROTO. The name cannot be changed. If Moskito is begun as a Viewer, the call of this routine has no effect, i.e. no file PROTO is provided.

Parametre

fmt (char *) [IN]

As with printf the issue format is determined here. Every occurence of % is substituted. %% proves a % sign. %d requires an upright value as a parametre. %s uses the next string as a parametre.

All the other details please a description of C take.

... (Types depend on %...) [IN]

Here follows a list of parametres of different types.

Result

(int) [OUT]

Number of the spent signs exclusively of the final NULL-Character.

Declaration

#include "ausgabe.h"

 

int DLLENTRY IOpprintf (

char * fmt,

...

);