FreeBASIC  0.91.0
io_print_fix.c
Go to the documentation of this file.
1 /* print [#] functions */
2 
3 #include "fb.h"
4 
5 /*:::::*/
6 static void fb_hPrintStrEx( FB_FILE *handle, const char *s, size_t len, int mask )
7 {
8  if( len != 0 ) {
9  FB_PRINT_EX(handle, s, len, 0);
10  }
11 
12  fb_PrintVoidEx( handle, mask );
13 }
14 
15 /*:::::*/
16 void fb_PrintFixStringEx ( FB_FILE *handle, const char *s, int mask )
17 {
18  if( s == NULL )
19  fb_PrintVoidEx( handle, mask );
20  else
21  fb_hPrintStrEx( handle, s, strlen( s ), mask );
22 }
23 
24 /*:::::*/
25 FBCALL void fb_PrintFixString ( int fnum, const char *s, int mask )
26 {
27  fb_PrintFixStringEx(FB_FILE_TO_HANDLE(fnum), s, mask);
28 }