don't distinguish textual and binary ports

This commit is contained in:
Yuichi Nishiwaki
2016-02-19 03:03:29 +09:00
parent 00e98548d7
commit bb2f9c0367
7 changed files with 40 additions and 76 deletions
-2
View File
@@ -33,8 +33,6 @@ typedef struct {
#define xstdout (&pic->files[1])
#define xstderr (&pic->files[2])
extern const xFILE x_iob[XOPEN_MAX];
enum _flags {
X_READ = 01,
X_WRITE = 02,
-2
View File
@@ -12,8 +12,6 @@ extern "C" {
enum pic_port_flag {
PIC_PORT_IN = 1,
PIC_PORT_OUT = 2,
PIC_PORT_TEXT = 4,
PIC_PORT_BINARY = 8,
PIC_PORT_OPEN = 16
};