~ubuntu-branches/ubuntu/raring/vice/raring

« back to all changes in this revision

Viewing changes to src/arch/os2/rs232.c

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2009-03-31 00:37:15 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20090331003715-mzclchtl0dp7fcl0
Tags: upstream-2.1.dfsg
ImportĀ upstreamĀ versionĀ 2.1.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include <string.h>
31
31
 
32
32
#include "resources.h"
 
33
#include "rs232drv.h"
33
34
#include "util.h"
34
35
 
35
36
 
124
125
  *b = fgetc(fd[fi]);
125
126
  return 0;
126
127
}
 
128
 
 
129
/* set the status lines of the RS232 device */
 
130
int rs232_set_status(int fd, enum rs232handshake_out status)
 
131
{
 
132
    return -1;
 
133
}
 
134
 
 
135
/* get the status lines of the RS232 device */
 
136
enum rs232handshake_in rs232_get_status(int fd)
 
137
{
 
138
    /*! \todo dummy */
 
139
    return RS232_HSI_CTS | RS232_HSI_DSR;
 
140
}
 
141
 
 
142
/* set the bps rate of the physical device */
 
143
void rs232_set_bps(int fd, unsigned int bps)
 
144
{
 
145
}