Branch
Hash :
fc65f7bd
Author :
Date :
2025-01-09T10:12:00
sys_socket-h: Update for POSIX:2024. * doc/posix-headers/sys_socket.texi: Mention a variety of portability problems. * tests/test-sys_socket-h.c: Check for struct sockaddr, struct sockaddr_storage, struct linger, SOL_SOCKET, SOMAXCONN. Include macros.h. (main): Check the socket types, socket options, and some MSG* constants. * modules/sys_socket-h-tests (Files): Add tests/macros.h.
Files:
tests/test-sys_socket-h.c
tests/macros.h
Depends-on:
assert-h
intprops
sys_socket-h-c++-tests
configure.ac:
AC_CHECK_FUNCS_ONCE([shutdown])
gl_SOCKET_FAMILIES
gl_SOCKET_FAMILY_UNIX
Makefile.am:
TESTS += test-sys_socket-h
check_PROGRAMS += test-sys_socket-h