[Issue 13754] src/std/mmfile.d: MmFile neither has ioctl nor a way to get the fd
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Nov 25 02:49:31 PST 2014
https://issues.dlang.org/show_bug.cgi?id=13754
--- Comment #1 from Danny Milosavljevic <danny.milo at 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)
--
More information about the Digitalmars-d-bugs
mailing list