getc1 getc int getc(FILE *fp) #include /* * 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); } 2016. 7. 9. 이전 1 다음