Ejemplo n.º 1
0
Archivo: tty.c Proyecto: fdomig/ottos
int tty_getline(char* buffer, int length) {
  return read_serial_with_end_char(buffer, length, '\n');
}
Ejemplo n.º 2
0
Archivo: io.c Proyecto: otto25/ottos
size_t read_serial(char* buffer, size_t count) {
  return read_serial_with_end_char(buffer, count, '\n');
}