setbuf.c
来自「MMI层OBJ不能完全编译」· C语言 代码 · 共 27 行
C
27 行
/*****************************************************************************/
/* SETVBUF.C v2.54 */
/* Copyright (c) 1995-2004 Texas Instruments Incorporated */
/*****************************************************************************/
/*****************************************************************************/
/* Functions: */
/* SETBUF - Set the default buffering mode for a stream */
/*****************************************************************************/
#include <stdio.h>
/*****************************************************************************/
/* SETBUF - Set the default buffering mode for a stream */
/* */
/* This function calls SETVBUF, and sets the buffering mode to non- */
/* buffered if _BUF is NULL, or fully-buffered if _BUF is not NULL. */
/* */
/*****************************************************************************/
_CODE_ACCESS void setbuf(register FILE *_fp, char *_buf)
{
setvbuf(_fp, _buf, _buf ? _IOFBF : _IONBF, BUFSIZ);
return;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?