#include #include #include "definitions.h" #include "rs232.h" /* mx_rs232_getchar copied from file mx_rs232.c */ int rs232_getchar(int file_descriptor, char *reply) { int status=FAILURE; /* Invoke the function. */ if (read(file_descriptor, reply, 1) == -1) { return status; } return SUCCESS; } /* mx_rs232_getchar() */