| 789 | } |
| 790 | |
| 791 | int __cdecl fgetc(FILE *f) |
| 792 | { |
| 793 | char c; |
| 794 | int fh = (int) f; |
| 795 | |
| 796 | if (!f) |
| 797 | return EOF; |
| 798 | if (read(fh, &c, 1) == 1) |
| 799 | return c; |
| 800 | else |
| 801 | return EOF; |
| 802 | } |
| 803 | |
| 804 | char *__cdecl fgets(char *s, int size, FILE *f) |
| 805 | { |
no test coverage detected