예제 #1
0
파일: tty.c 프로젝트: fdomig/ottos
int tty_getline(char* buffer, int length) {
  return read_serial_with_end_char(buffer, length, '\n');
}
예제 #2
0
파일: io.c 프로젝트: otto25/ottos
size_t read_serial(char* buffer, size_t count) {
  return read_serial_with_end_char(buffer, count, '\n');
}