Overview
Module that contains functions and macro functions to print to stdout or write to a file.
Example
#include "clingo/io/print.h"
#include "clingo/time/cTime.h"
#define pln_( ... ) pjotln_c_( xyz, 256, __VA_ARGS__ )
int main( void )
{
   cRecorder* timeRec = &recorder_c_( 32 );
   write_time_c_( timeRec, local_time_c() );
   pln_( c_c( "hello World!" ), " today is ", timeRec, " that is ", true, "!" );
   println_c_( "{cs:q} today is {rec} ", c_c( "hello world!" ), timeRec,
               "that is {bool:Cc}!", true );
}Functions
printfn_c_
#define printfn_c_( Prefix, RecSize, Func, ... )Macro function that creates a recorder with Prefix as name and the RecSize. The recorder will be uesed with the Func function and the arguments.
pjot_c_
#define pjot_c_( Prefix, RecSize, ... )Macro function that creates a recorder with Prefix as name and the RecSize. The recorder will be uesed with the jot_c_ function and the arguments.
pjotln_c_
#define pjotln_c_( Prefix, RecSize, ... )Macro function that creates a recorder with Prefix as name and the RecSize. The recorder will be uesed with the jotln_c_ function and the arguments.
fprint
fprint_impl_c
bool fprint_impl_c( FILE* file,
                    cErrorStack es[static 1],
                    c_write_va_arg write_arg,
                    int n,
                    va_list list );Bla, Bla, Bla.
fprint_list_c
bool fprint_list_c( FILE* file, cErrorStack es[static 1], int n, va_list list );Bla, Bla, Bla.
fprint_c
#define fprint_c_( File, Es, ... )                                             \
   fprint_c( (File), (Es), nargs_c_( __VA_ARGS__ ), __VA_ARGS__ )
bool fprint_c( FILE* file, cErrorStack es[static 1], int n, ... );Bla, Bla, Bla.
print_c
#define print_c_( ... )                                                        \
   print_c( nargs_c_( __VA_ARGS__ ), __VA_ARGS__ )
bool print_c( int n, ... );Bla, Bla, Bla.
fprintln
fprintln_impl_c
bool fprintln_impl_c( FILE* file,
                      cErrorStack es[static 1],
                      c_write_va_arg write_arg,
                      int n,
                      va_list list );Bla, Bla, Bla.
fprint_list_c
bool fprintln_list_c( FILE* file,
                      cErrorStack es[static 1],
                      int n,
                      va_list list );Bla, Bla, Bla.
fprintln_c
#define fprintln_c_( File, Es, ... )                                           \
   fprintln_c( (File), (Es), nargs_c_( __VA_ARGS__ ), __VA_ARGS__ )
bool fprintln_c( FILE* file, cErrorStack es[static 1], int n, ... );Bla, Bla, Bla.
println_c
#define println_c_( ... )                                                 \
   println_c( nargs_c_( __VA_ARGS__ ), __VA_ARGS__ )
bool println_c( int n, ... );Bla, Bla, Bla.