~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina4/src/tools/serial/serial_snd_rcv.c

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2   serial_snd_rcv.c
  3 */
  4 
  5 #include <stdio.h>
  6 #include <tina/sys.h>
  7 #include <tina/sysfuncs.h>
  8 
  9 
 10 void    serial_sndim_fromtos(int fd)
 11 {
 12         Imrect  *im = NULL;
 13         int      type;
 14         
 15         if (fd < 0)
 16                 return;
 17 
 18         if ((im = (Imrect *) stack_inspect(&type)) == NULL)
 19                 return ;
 20 
 21         define_all_ts_handlers();
 22         repeatp_checker_off();
 23         ts_swrite(im, fd);
 24         
 25   return;
 26 }
 27 
 28 
 29 void    serial_rcvim_totos(int fd)
 30 {
 31         Imrect  *im = NULL;
 32 
 33         if (fd < 0)
 34                 return;
 35 
 36         define_all_ts_handlers();
 37         repeatp_checker_off();
 38         ts_sread(&im, fd); 
 39         
 40         stack_push((void *)im, IMRECT, im_free);
 41 
 42   return;
 43 }
 44 
 45 
 46 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.