ReactOS
0.4.16-dev-297-gc569aee
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
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
_
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
ffileread.c
Go to the documentation of this file.
1
/* @(#)ffileread.c 1.13 09/06/30 Copyright 1986, 1996-2009 J. Schilling */
2
/*
3
* Copyright (c) 1986, 1996-2009 J. Schilling
4
*/
5
/*
6
* The contents of this file are subject to the terms of the
7
* Common Development and Distribution License, Version 1.0 only
8
* (the "License"). You may not use this file except in compliance
9
* with the License.
10
*
11
* See the file CDDL.Schily.txt in this distribution for details.
12
*
13
* When distributing Covered Code, include this CDDL HEADER in each
14
* file and include the License file CDDL.Schily.txt from this distribution.
15
*/
16
17
#include "
schilyio.h
"
18
19
EXPORT
ssize_t
20
ffileread
(
f
,
buf
,
len
)
21
register
FILE
*
f
;
22
void
*
buf
;
23
size_t
len
;
24
{
25
register
int
fd
;
26
register
ssize_t
ret
;
27
int
oerrno =
geterrno
();
28
29
down2
(
f
,
_IOREAD
,
_IORW
);
30
fd
=
fileno
(
f
);
31
32
while
((
ret
=
read
(
fd
,
buf
,
len
)) < 0 &&
geterrno
() ==
EINTR
) {
33
/*
34
* Set back old 'errno' so we don't change the errno visible
35
* to the outside if we did not fail.
36
*/
37
seterrno
(oerrno);
38
}
39
return
(
ret
);
40
}
EINTR
#define EINTR
Definition:
acclib.h:80
fileno
#define fileno
Definition:
acwin.h:102
read
#define read
Definition:
acwin.h:96
ffileread
EXPORT ssize_t ffileread(FILE *f, void *buf, size_t len)
Definition:
ffileread.c:20
geterrno
EXPORT int geterrno()
Definition:
geterrno.c:34
f
GLfloat f
Definition:
glext.h:7540
buf
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition:
glext.h:7751
len
GLenum GLsizei len
Definition:
glext.h:6722
_IOREAD
#define _IOREAD
Definition:
stdio.h:124
_IORW
#define _IORW
Definition:
stdio.h:135
f
#define f
Definition:
ke_i.h:83
ssize_t
int ssize_t
Definition:
rosdhcp.h:48
schilyio.h
down2
#define down2(f, fl1, fl2)
Definition:
schilyio.h:218
fd
static int fd
Definition:
io.c:51
seterrno
EXPORT int seterrno(int err)
Definition:
seterrno.c:34
EXPORT
Definition:
spec2def.c:21
_iobuf
Definition:
mbstring.h:19
ret
int ret
Definition:
wcstombs-tests.c:31
sdk
tools
mkisofs
schilytools
libschily
stdio
ffileread.c
Generated on Tue Nov 26 2024 06:14:29 for ReactOS by
1.9.6