Uart serial communication c code. To read from a serial port, you read from the file.