Auto merge of #1616 - mcpherrinm:withandroid, r=gnzlbg
Add sock_extended_err and associated constants from errqueue.h to linux_like This is an alternate version of #1614 that attempts to fix issues with the android ctests by rearranging the headers. Due to long CI cycle time, I've opened it as an alternate PR. Only one or the other should merge, depending if linux_like or linux is the correct place for this. sock_extended_err is a struct returned as a control message when the sockopt IP_RECVERR is set, when recvmsg has the MSG_ERRQUEUE flag set. IP_RECVERR and MSG_ERRQUEUE are constants both already defined here.
Showing
- libc-test/Cargo.toml 5 additions, 0 deletionslibc-test/Cargo.toml
- libc-test/build.rs 32 additions, 22 deletionslibc-test/build.rs
- libc-test/src/errqueue.c 10 additions, 0 deletionslibc-test/src/errqueue.c
- libc-test/test/errqueue.rs 22 additions, 0 deletionslibc-test/test/errqueue.rs
- src/unix/linux_like/mod.rs 21 additions, 0 deletionssrc/unix/linux_like/mod.rs
Loading
Please register or sign in to comment