mescc: Mes C Library: Move posix bits to read.