SPRU514Z July 2001 – October 2023 SM320F28335-EP
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.