Writes a buffer of data to a socket or file. Syntax: #include <unixio.h> int write(int d, void *buffer, int nbytes);