FreeBASIC  0.91.0
io_writevoid.c
Go to the documentation of this file.
1 /* write [#] functions */
2 
3 #include "fb.h"
4 
5 /*:::::*/
6 FBCALL void fb_WriteVoid ( int fnum, int mask )
7 {
8  const char *buffer;
9 
10  if( mask & FB_PRINT_NEWLINE )
11  buffer = FB_NEWLINE;
12 
13  else if( mask & FB_PRINT_PAD )
14  buffer = "\t";
15 
16  else
17  buffer = NULL;
18 
19  if( buffer != NULL )
20  FB_PRINT(fnum, buffer, mask);
21 }