FreeBASIC  0.91.0
dev_lpt_write.c
Go to the documentation of this file.
1 /* LPTx device */
2 
3 #include "fb.h"
4 
5 int fb_DevLptWrite( FB_FILE *handle, const void* value, size_t valuelen )
6 {
7  int res;
8 
9  FB_LOCK();
10 
11  res = fb_PrinterWrite((DEV_LPT_INFO*) handle->opaque, value, valuelen );
12 
13  FB_UNLOCK();
14 
15  return res;
16 }