MCPcopy Create free account
hub / github.com/NetHack/NetHack / fgetc

Function fgetc

outdated/sys/wince/celib.c:791–802  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789}
790
791int __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
804char *__cdecl fgets(char *s, int size, FILE *f)
805{

Callers 9

get_next_lineFunction · 0.85
read_bmp_tilesFunction · 0.85
read_gif_tilesFunction · 0.85
read_data_blockFunction · 0.85
curses_wait_synchFunction · 0.85
discardexcessFunction · 0.85
dlb_fgetcFunction · 0.85
depack_imgFunction · 0.85
fgetsFunction · 0.85

Calls 1

readFunction · 0.85

Tested by

no test coverage detected