mirror of
git://git.musl-libc.org/musl
synced 2024-12-24 07:32:49 +00:00
7158481d51
the (unused) speed fields were omitted when these ports were first added (within this release cycle, so not present in any release yet) in accordance with how glibc defines the structure on mips archs. however their omission does not match existing musl practice/intent. glibc provides its own, mostly-unified termios structure definition and performs translation in userspace to match the kernel structure for the arch, but has gratuitous differences on a few archs like mips, presumably as a result of historical mistakes. some other libcs use the kernel definitions directly. musl essentially does that, by matching the kernel layout in the part of the structure the kernel will read/write, but leaves additional space at the end for extensibility. these are nominally the (nonstandard) speed fields and (on most archs) extra c_cc elements, but since they are not used they could be repurposed if there's ever a need. |
||
---|---|---|
.. | ||
bits | ||
atomic_arch.h | ||
crt_arch.h | ||
ksigaction.h | ||
pthread_arch.h | ||
reloc.h | ||
syscall_arch.h |