Changeset fa38804 in buchla-68k for iolib/rawio.c
- Timestamp:
- 07/14/2017 04:18:35 PM (7 years ago)
- Branches:
- master
- Children:
- ace9ee7
- Parents:
- 1efe224
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
iolib/rawio.c
r1efe224 rfa38804 30 30 ^Z, or buffer full. Returns the byte that stopped the input, 31 31 or ERR01 for buffer full. 32 33 34 32 35 33 int … … 60 58 */ 61 59 62 /*63 */64 65 60 #include "ram.h" 66 61 … … 96 91 return(ERR01); /* buffer full */ 97 92 } 98 99 /*100 */101 93 102 94 int16_t getln(int16_t unit, int16_t nb, int8_t *buf) … … 142 134 return((int16_t)c); /* return -- CR or LF hit */ 143 135 144 /*145 */146 147 136 case CTL('X'): 148 137 … … 162 151 } 163 152 164 /*165 */166 167 153 int16_t getrln(int16_t unit, int16_t nb, int8_t *buf) 168 154 { … … 205 191 } 206 192 207 /*208 */209 210 193 void writeln(int16_t unit, int8_t *buf) 211 194 {
Note:
See TracChangeset
for help on using the changeset viewer.