fdctx
fdctx_destroy(struct fdctx *fdc)
struct fdctx fdctx;
fdctx_init(STDIN_FILENO, &fdctx);
nread = fdgetc(&fdctx, &c);
fdctx_destroy(&fdctx);
static void fdctx_init(int, struct fdctx *);
static void fdctx_destroy(struct fdctx *);
static ssize_t fdgetc(struct fdctx *, char *);
fdctx_init(int fd, struct fdctx *fdc)
*fdc = (struct fdctx){
fdgetc(struct fdctx *fdc, char *c)