ReactOS
0.4.16-dev-983-g23ad936
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
unix_func.c
Go to the documentation of this file.
1
#define WIN32_NO_STATUS
2
#define _INC_WINDOWS
3
#include <
windef.h
>
4
#include <
winsock2.h
>
5
6
const
char
*
7
WSAAPI
8
inet_ntop
(
int
af,
9
const
void
*
src
,
10
char
*
dst
,
11
size_t
cnt
)
12
{
13
struct
in_addr
in
;
14
char
*text_addr;
15
16
if
(af ==
AF_INET
)
17
{
18
memcpy
(&
in
.s_addr,
src
,
sizeof
(
in
.s_addr));
19
text_addr =
inet_ntoa
(
in
);
20
if
(text_addr &&
dst
)
21
{
22
strncpy
(
dst
, text_addr,
cnt
);
23
return
dst
;
24
}
25
}
26
27
return
0;
28
}
29
inet_ntoa
CHAR FAR *WSAAPI inet_ntoa(IN IN_ADDR in)
Definition:
addrconv.c:160
AF_INET
#define AF_INET
Definition:
tcpip.h:117
src
GLenum src
Definition:
glext.h:6340
in
GLuint in
Definition:
glext.h:9616
dst
GLenum GLenum dst
Definition:
glext.h:6340
memcpy
#define memcpy(s1, s2, n)
Definition:
mkisofs.h:878
strncpy
strncpy
Definition:
string.h:335
in_addr
Definition:
tcpip.h:126
inet_ntop
const char *WSAAPI inet_ntop(int af, const void *src, char *dst, size_t cnt)
Definition:
unix_func.c:8
cnt
_In_ size_t cnt
Definition:
wcstombs.cpp:43
windef.h
winsock2.h
WSAAPI
#define WSAAPI
Definition:
winsock2.h:605
dll
win32
rpcrt4
unix_func.c
Generated on Thu Apr 17 2025 06:05:26 for ReactOS by
1.9.6