getchar.c

来自「su 的源代码库」· C语言 代码 · 共 26 行

C
26
字号
/* Copyright (c) Colorado School of Mines, 2006.*//* All rights reserved.                       */#include	"sfstdio.h"/*	Get a byte from stdin.**	Written by Kiem-Phong Vo*/#if __STD_Cint getchar(void)#elseint getchar()#endif{	return fgetc(stdin);}#if _lib_getchar_unlocked && !_done_getchar_unlocked && !defined(getchar)#define _done_getchar_unlocked	1#define getchar	getchar_unlocked#include	"getchar.c"#undef getchar#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?