Skip to content

Commit e0c74b2

Browse files
jukkarhenrikbrixandersen
authored andcommitted
doc: migration-guide: Mention socklen_t changes
Add information that the socklen_t was changed from size_t, which can be either 32 or 64 bit long depending on system configuration, to always be 32 bit long. This is now aligned to way Linux is defining socklen_t. Signed-off-by: Jukka Rissanen <[email protected]>
1 parent c546c1c commit e0c74b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/releases/migration-guide-4.3.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@ Networking
189189
:c:macro:`HTTPS_SERVICE_DEFINE_EMPTY`, :c:macro:`HTTP_SERVICE_DEFINE` and
190190
:c:macro:`HTTPS_SERVICE_DEFINE`.
191191

192+
* The size of socket address length type :c:type:`socklen_t` has changed. It is now defined to
193+
be always 32 bit ``uint32_t`` in order to be aligned with Linux. Previously it was defined as
194+
``size_t`` which meant that the size could be either 32 bit or 64 bit depending on system
195+
configuration.
196+
192197
.. zephyr-keep-sorted-start re(^\w)
193198
194199
.. zephyr-keep-sorted-stop

0 commit comments

Comments
 (0)