https://issues.dlang.org/show_bug.cgi?id=13754
--- Comment #1 from Danny Milosavljevic <danny.m...@gmail.com> --- I'm trying to implement that right now. Is there are way not to repeat the .ioctl signature in the (potential) member function MmFile.ioctl ? Like ioctl = .ioctl fileno; ? Also, there are many different prototypes for ioctl in core/sys/posix/sys/ioctl.d . Do I just choose a superset? Is ulong.sizeof >= c_ulong.sizeof always ? Is ulong.sizeof >= int.sizeof always ? (Then I'd use int ioctl(ulong request, ...) as the member function, if really necessary) --