Skip to content
Commit b9fe11c7 authored by Christopher Friedt's avatar Christopher Friedt Committed by Carles Cufi
Browse files

tests: net: socketpair: use do not alias read and write



* do not define `read`, `write`, as different symbols
* use `recv`, and `send` as defined by
  `CONFIG_NET_SOCKETS_POSIX_NAMES`
* do not specify `(2)` as manual-page sections are
  somewhat irrelevant

Note: we use `CONFIG_NET_SOCKETS_POSIX_NAMES` here, and
`CONFIG_POSIX_API` in `samples/` to show that the socketpair
API is available in both configurations.

Signed-off-by: default avatarChris Friedt <cfriedt@meta.com>
parent c73b8ed4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment