📄 setbuf.c
字号:
/*****************************************************************************/
/* SETVBUF.C v2.24 */
/* Copyright (c) 1995-2002 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -