Reads bytes from a socket or file and places them in a buffer. Syntax: #include <unixio.h> int read(int d, void *buffer, int nbytes);