| 456 | } |
| 457 | |
| 458 | int |
| 459 | rsrc_dlb_fgetc(dlb *dp) |
| 460 | { |
| 461 | HandleFile *hfp = IsHandleFile(dp->fd); |
| 462 | int ret; |
| 463 | |
| 464 | if (!hfp || hfp->size <= hfp->mark) |
| 465 | return EOF; |
| 466 | |
| 467 | ret = *(unsigned char *) (*hfp->data + hfp->mark); |
| 468 | hfp->mark++; |
| 469 | return ret; |
| 470 | } |
| 471 | |
| 472 | long |
| 473 | rsrc_dlb_ftell(dlb *dp) |
nothing calls this directly
no test coverage detected