Created
June 21, 2015 04:22
-
-
Save shichao-an/26f53ad6de8d2e1a10b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "unp.h" | |
ssize_t readn(int filedes, void *buff, size_t nbytes); | |
ssize_t writen(int filedes, const void *buff, size_t nbytes); | |
ssize_t readline(int filedes, void *buff, size_t maxlen); | |
/* All return: number of bytes read or written, –1 on error */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment