writeWrites data to a file | |||||||
Arguments
Return ValueThe number of bytes written up to normal termination is returned.-1 is returned if an error occurred. ExplanationThe first n bytes from the buffer pointed to by buf are written to the file specified by fd.See Alsoopen() |