Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
bytes.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
19
20
#include <stddef.h>
21
22
#include "
byteorder.h
"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
#ifndef __socklen_t_defined
29
#if SIZE_MAX < UINT32_MAX
30
typedef
size_t
socklen_t
;
31
#else
32
// Specification calls for at least 32 bits
33
typedef
uint32_t
socklen_t
;
34
#endif
35
#endif
36
37
#ifdef __cplusplus
38
}
39
#endif
40
byteorder.h
Functions to work with different byte orders.
socklen_t
uint32_t socklen_t
socket address length
Definition
bytes.h:33
Generated on Tue Nov 3 2026 11:29:32 by
1.13.2