Skip to content

better support for posix api read write in socketpair tests #25362

@cfriedt

Description

@cfriedt

Is your enhancement proposal related to a problem? Please describe.
Use READ / WRITE macros in socketpair tests, to abstract read / recv and write / send as in #25356

socketpair should work with unistd read / write when

#if !defined(__ZEPHYR__) || defined(CONFIG_POSIX_API)

is true

Describe the solution you'd like
I'll throw together a patch after #25271

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementChanges/Updates/Additions to existing featuresarea: POSIXPOSIX API Library

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions