CBMC
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
g
j
l
m
r
t
w
Functions
a
c
d
f
g
r
t
w
Typedefs
Enumerations
Classes
Class List
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
k
l
m
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Related Symbols
b
c
d
e
g
i
j
m
n
o
s
t
u
v
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
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
y
Typedefs
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
_
a
b
c
d
f
g
i
l
m
p
r
s
t
u
v
w
Enumerator
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
errno.c
Go to the documentation of this file.
1
/* FUNCTION: __error */
2
3
// This is used on MacOS to return the address of a
4
// variable used for the errno macro.
5
6
__CPROVER_thread_local
int
__CPROVER_errno
;
7
8
int
*
__error
(
void
)
9
{
10
return
&
__CPROVER_errno
;
11
}
8
int
*
__error
(
void
) {
…
}
12
13
/* FUNCTION: __errno_location */
14
15
// This is used on Linux to return the address of a
16
// variable used for the errno macro.
17
18
__CPROVER_thread_local
int
__CPROVER_errno
;
19
20
int
*
__errno_location
(
void
)
21
{
22
return
&
__CPROVER_errno
;
23
}
20
int
*
__errno_location
(
void
) {
…
}
24
25
/* FUNCTION: _errno */
26
27
// This is used on Windows to return the address of a
28
// variable used for the errno macro.
29
30
__CPROVER_thread_local
int
__CPROVER_errno
;
31
32
int
*
_errno
(
void
)
33
{
34
return
&
__CPROVER_errno
;
35
}
32
int
*
_errno
(
void
) {
…
}
36
37
/* FUNCTION: __errno */
38
39
// This has been spotted in CYGWIN
40
41
__CPROVER_thread_local
int
__CPROVER_errno
;
42
43
extern
int
*
__errno
(
void
)
44
{
45
return
&
__CPROVER_errno
;
46
}
43
extern
int
*
__errno
(
void
) {
…
}
47
48
/* FUNCTION: ___errno */
49
50
// This has been spotted on Solaris
51
52
__CPROVER_thread_local
int
__CPROVER_errno
;
53
54
extern
int
*
___errno
(
void
)
55
{
56
return
&
__CPROVER_errno
;
57
}
54
extern
int
*
___errno
(
void
) {
…
}
ait
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Definition
ai.h:562
__errno
int * __errno(void)
Definition
errno.c:43
_errno
int * _errno(void)
Definition
errno.c:32
__errno_location
int * __errno_location(void)
Definition
errno.c:20
__CPROVER_errno
__CPROVER_thread_local int __CPROVER_errno
Definition
errno.c:6
___errno
int * ___errno(void)
Definition
errno.c:54
__error
int * __error(void)
Definition
errno.c:8
src
ansi-c
library
errno.c
Generated by
1.9.8