FreeBASIC  0.91.0
io_printvoid.c
Go to the documentation of this file.
1 /* print functions */
2 
3 #include "fb.h"
4 
5 /*:::::*/
6 void fb_PrintVoidEx ( FB_FILE *handle, int mask )
7 {
8  if( mask & FB_PRINT_BIN_NEWLINE ) {
9 
10  FB_PRINT_EX(handle,
12  sizeof(FB_BINARY_NEWLINE)-1,
13  mask);
14 
15  } else if( mask & FB_PRINT_NEWLINE ) {
16 
17  FB_PRINT_EX(handle,
18  FB_NEWLINE,
19  sizeof(FB_NEWLINE)-1,
20  mask);
21 
22  } else if( mask & FB_PRINT_PAD ) {
23 
24  fb_PrintPadEx( handle, mask & ~FB_PRINT_HLMASK );
25 
26  }
27 }
28 
29 /*:::::*/
30 FBCALL void fb_PrintVoid ( int fnum, int mask )
31 {
32  fb_PrintVoidEx( FB_FILE_TO_HANDLE(fnum), mask );
33 }
34