ReactOS
0.4.16-dev-927-g467dec4
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
setbuf.cpp
Go to the documentation of this file.
1
//
2
// setbuf.cpp
3
//
4
// Copyright (c) Microsoft Corporation. All rights reserved.
5
//
6
// Defines setbuf(), which enables or disables buffering on a stream.
7
//
8
#include <
corecrt_internal_stdio.h
>
9
10
11
12
// If the buffer is null, buffering is disabled for the stream. If the buffer is
13
// non-null, it must point to a buffer of BUFSIZ characters; the stream will be
14
// configured to use that buffer. The functionality of setbuf() is a strict
15
// subset of the functionality of setvbuf().
16
extern
"C"
void
__cdecl
setbuf
(
FILE
*
const
stream
,
char
*
const
buffer
)
17
{
18
_ASSERTE
(
stream
!=
nullptr
);
19
20
if
(
buffer
==
nullptr
)
21
{
22
setvbuf
(
stream
,
nullptr
,
_IONBF
, 0);
23
}
24
else
25
{
26
setvbuf
(
stream
,
buffer
,
_IOFBF
,
BUFSIZ
);
27
}
28
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
corecrt_internal_stdio.h
_ASSERTE
#define _ASSERTE(expr)
Definition:
crtdbg.h:114
buffer
GLuint buffer
Definition:
glext.h:5915
_IONBF
#define _IONBF
Definition:
stdio.h:129
_IOFBF
#define _IOFBF
Definition:
stdio.h:127
setvbuf
_Check_return_opt_ _CRTIMP int __cdecl setvbuf(_Inout_ FILE *_File, _Inout_updates_opt_z_(_Size) char *_Buf, _In_ int _Mode, _In_ size_t _Size)
BUFSIZ
#define BUFSIZ
Definition:
nsplookup.c:25
setbuf
void __cdecl setbuf(FILE *const stream, char *const buffer)
Definition:
setbuf.cpp:16
_iobuf
Definition:
mbstring.h:19
stream
Definition:
parse.h:23
sdk
lib
ucrt
stdio
setbuf.cpp
Generated on Sun Mar 30 2025 06:14:52 for ReactOS by
1.9.6