https://issues.dlang.org/show_bug.cgi?id=14702
Issue ID: 14702 Summary: struct epoll_event is aligned incorrectly Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: tomerfil...@gmail.com In core.sys.linux.epoll, struct epoll_event is defined as struct epoll_event { align(1): uint events; epoll_data_t data; } where it should be align(1) struct epoll_event { align(1): uint events; epoll_data_t data; } This causes epoll_event.sizeof == 16, where it should be 12, thus an array of epoll_event is meaningless. --