Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Main Page
Related Pages
Supported Boards
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Enumerations
Data Structures
Data Structures
Class Hierarchy
Data Fields
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
l
m
n
o
p
r
s
t
u
w
~
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
Enumerator
Related Symbols
Files
File List
Globals
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
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
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
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
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
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
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
z
▼
RIOT OS
►
RIOT Documentation
mutex.doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
doc
RIOT Vision
►
Governance of the RIOT Community
►
Roadmap
►
Code of Conduct Information
►
Creating modules
►
Creating an application
►
Porting boards
►
Writing a Device Driver in RIOT
►
Getting started
►
Flashing via RIOT's Build System
►
Terminal programs configuration
►
Build In Docker
►
Running and creating tests
►
Hints for quicker & better RIOT development
►
Build System Basics
►
List of Features (Features as Build System Enties)
►
Kconfig in RIOT
►
Using C++ in RIOT
►
Using Rust in RIOT
►
Advanced build system tricks
►
Debugging Tools
►
Emulators
►
Release cycle
►
IO-Mapping and Shields
►
Changelog
►
Removed Features and Modules
Deprecated List
Todo List
Supported Boards
►
Modules
►
Namespaces
►
Data Structures
▼
Files
▼
File List
►
boards
►
core
►
cpu
►
dist
►
drivers
►
makefiles
►
pkg
▼
sys
►
arduino
►
auto_init
►
clif
►
cpp11-compat
►
crypto
►
embunit
►
fs
►
include
►
libc
►
log_color
►
log_printfnoformat
►
net
►
oneway-malloc
▼
posix
▼
include
►
arpa
►
netinet
▼
sys
►
bytes.h
►
select.h
►
socket.h
►
statvfs.h
fcntl.h
►
semaphore.h
►
pthread
►
psa_crypto
►
test_utils
►
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
bytes.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
20
#ifndef SYS_BYTES_H
21
#define SYS_BYTES_H
22
23
#include <stddef.h>
24
25
#include "
byteorder.h
"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
31
#ifndef __socklen_t_defined
32
#if SIZE_MAX < UINT32_MAX
33
typedef
size_t
socklen_t
;
34
#else
35
// Specification calls for at least 32 bits
36
typedef
uint32_t
socklen_t
;
37
#endif
38
#endif
39
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#endif
/* SYS_BYTES_H */
byteorder.h
Functions to work with different byte orders.
socklen_t
uint32_t socklen_t
socket address length
Definition
bytes.h:36
Generated on Sat Apr 5 2025 17:58:47 by
1.12.0