getmsg
static char *getmsg(int, char *, char);
str = getmsg(fd, cptr, quote);
if (getmsg(fd, &cbuf, NULL, &flags) < 0) {