반응형
int getc(FILE *fp)
#include <stdio.h> /* * A subroutine version of the macro getc_unlocked. */ #undef getc_unlocked int getc_unlocked(FILE *fp) { return (__sgetc(fp)); } /* * A subroutine version of the macro getc. */ #undef getc int getc(FILE *fp) { int c; flockfile(fp); c = __sgetc(fp); funlockfile(fp); return (c); }
반응형