FreeBASIC  0.91.0
file_print.c
Go to the documentation of this file.
1 /* print # function (formating is done at io_prn) */
2 
3 #include "fb.h"
4 
5 /*:::::*/
6 int fb_hFilePrintBufferEx( FB_FILE *handle, const void *buffer, size_t len )
7 {
8  int res;
9 
11 
12  if( !FB_HANDLE_USED(handle) )
14 
15  res = fb_FilePutDataEx( handle, 0, buffer, len, TRUE, TRUE, FALSE );
16 
17  return res;
18 }
19 
20 /*:::::*/
21 int fb_hFilePrintBuffer( int fnum, const char *buffer )
22 {
24  buffer, strlen( buffer ) );
25 }