Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#include <unistd.h>
ssize_t read(int fd, void *buf, size_t nbytes);
/* Returns: number of bytes read, 0 if end of file, −1 on error */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment