• Pekka Paalanen's avatar
    os: wrap F_DUPFD_CLOEXEC · 1463a41f
    Pekka Paalanen authored
    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: Pekka Paalanen's avatarPekka Paalanen <ppaalanen@gmail.com>
    1463a41f
connection.c 19.3 KB