d A descriptor that refers to a socket or file. buffer The address of a buffer from which the output data is to be taken. nbytes The maximum number of bytes involved in the write operation.