fputc.c

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

C
42
字号
/* Copyright (c) Colorado School of Mines, 2006.*//* All rights reserved.                       */#include	"sfstdio.h"/*	Write out a byte**	Written by Kiem-Phong Vo*/#if __STD_Cint fputc(int c, FILE* f)#elseint fputc(c, f)reg int		c;reg FILE*	f;#endif{	reg Sfio_t*	sf;	if(!(sf = _sfstream(f)))		return -1;	if((c = sfputc(sf,c)) < 0)		_stdseterr(f,sf);	return c;}#if _lib__IO_putc && !_done_IO_putc && !defined(fputc)#define _done_IO_putc	1#define fputc	_IO_putc#include	"fputc.c"#undef fputc#endif#if _lib_fputc_unlocked && !_done_fputc_unlocked && !defined(fputc)#define _done_fputc_unlocked	1#define fputc	fputc_unlocked#include	"fputc.c"#undef fputc#endif

⌨️ 快捷键说明

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