Thread overview
[Issue 13754] src/std/mmfile.d: MmFile neither has ioctl nor a way to get the fd
Dec 17, 2022
Iain Buclaw
November 25, 2014
https://issues.dlang.org/show_bug.cgi?id=13754

--- Comment #1 from Danny Milosavljevic <danny.milo@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)

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=13754

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
December 01
https://issues.dlang.org/show_bug.cgi?id=13754

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/phobos/issues/10100

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--