SLAU132Y September 2004 – June 2021
Write Characters to a File
int DEV_write (int dev_fd , const char *buf , unsignedcount );
This function writes count bytes to the output file.
This function must return -1 to indicate an error if for some reason no bytes could be written to the file. This could be because of an attempt to read from a O_RDONLY file, or for device-specific reasons.