Skip to content
Commit 1463a41f authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

os: wrap F_DUPFD_CLOEXEC



Some system C libraries do not have F_DUPFD_CLOEXEC. Provide a fallback.

Add tests for the new wl_os_dupfd_cloexec() wrapper.

Add per-wrapper call counters in os_wrappers-test.c. Makes it easier to
determine the minimum required number of wrapped calls.

Signed-off-by: default avatarPekka Paalanen <ppaalanen@gmail.com>
parent 3b29783d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment