ReactOS 0.4.16-dev-927-g467dec4
setbuf.cpp File Reference
Include dependency graph for setbuf.cpp:

Go to the source code of this file.

Functions

void __cdecl setbuf (FILE *const stream, char *const buffer)
 

Function Documentation

◆ setbuf()

void __cdecl setbuf ( FILE *const  stream,
char *const  buffer 
)

Definition at line 16 of file setbuf.cpp.

17{
18 _ASSERTE(stream != nullptr);
19
20 if (buffer == nullptr)
21 {
22 setvbuf(stream, nullptr, _IONBF, 0);
23 }
24 else
25 {
27 }
28}
#define _ASSERTE(expr)
Definition: crtdbg.h:114
GLuint buffer
Definition: glext.h:5915
#define _IONBF
Definition: stdio.h:129
#define _IOFBF
Definition: stdio.h:127
_Check_return_opt_ _CRTIMP int __cdecl setvbuf(_Inout_ FILE *_File, _Inout_updates_opt_z_(_Size) char *_Buf, _In_ int _Mode, _In_ size_t _Size)
#define BUFSIZ
Definition: nsplookup.c:25
Definition: parse.h:23