FreeBASIC  0.91.0
dev_scrn_write.c
Go to the documentation of this file.
1 /* file device */
2 
3 #include "fb.h"
4 
5 int fb_DevScrnWrite( FB_FILE *handle, const void* value, size_t valuelen )
6 {
7  fb_PrintBufferEx( value, valuelen, 0 );
9 }
10 
12 {
14 
15  if( FB_HANDLE_SCREEN->hooks->pfnWrite == NULL )
16  FB_HANDLE_SCREEN->hooks->pfnWrite = fb_DevScrnWrite;
17 }