SPRUI04F july 2015 – april 2023
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.