rust-libc/src
bors 25ea72c5ce Auto merge of #2518 - de-vri-es:move-termios2-to-arch, r=Amanieu
Move termios2 struct and ioctl constants to linux::arch::*.

When trying to use the newly added ioctls from #2508 I noticed that the `termios2` struct was not defined for musl or uclibc, except interestingly for the hexagon+musl target

However, the `termios2` struct and ioctls are part of the Linux headers, not part of the libc headers. So the libc flavour doesn't matter for these definitions.

This PR moves the definitions to the `linux::arch::*` modules, to make them available for all libc flavours and reduce code duplication as a bonus.
2021-11-06 23:14:27 +00:00
..
fuchsia Revert "fuchsia add getrandom equivalent zx_cprng_draw." 2021-09-03 12:00:59 -07:00
hermit Remove license headers 2020-04-11 23:35:45 +09:00
solid Add SOLID target support 2021-08-17 11:08:57 +09:00
unix Auto merge of #2518 - de-vri-es:move-termios2-to-arch, r=Amanieu 2021-11-06 23:14:27 +00:00
vxworks Make src/vxworks/mod.rs non-executable 2021-10-03 13:53:18 +02:00
windows win32 remove deprecated winapi part 2021-11-04 19:00:35 +00:00
fixed_width_ints.rs Formatting 2019-09-12 15:12:33 +02:00
lib.rs Use link modifiers -bundle on musl and wasi target 2021-11-03 20:30:23 +08:00
macros.rs Use ptr::addr_of when available 2021-11-01 19:58:12 -05:00
psp.rs Fix style 2021-04-06 10:10:29 +09:00
sgx.rs Refactor fixed-width integer types into its own module 2019-05-29 13:05:49 +02:00
switch.rs Formatting 2019-09-12 15:12:33 +02:00
wasi.rs Auto merge of #2272 - 12101111:musl-bundle, r=Amanieu 2021-11-04 14:53:59 +00:00