Functions HI-TECH C WRITE
#include <unixio.h> int write(int fd, void * buf, size_t cnt)
Write() will write from the buffer at buf up to cnt bytes to the file associated with the file descriptor fd. The number of bytes actually written will be returned. EOF or a value less than cnt will be returned on error. In any case, any return value not equal to cnt should be treated as an error (cf. read() ).
open, close, read