all OS functions should be "nothrow @trusted @nogc"

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 25 11:24:39 PDT 2017


On 07/25/2017 02:20 PM, Steven Schveighoffer wrote:
> On 7/25/17 2:14 PM, Andrei Alexandrescu wrote:
>> On 07/25/2017 12:14 PM, Kagamin wrote:
>>> While we're at it, check this: 
>>> https://github.com/dlang/druntime/blob/master/src/core/stdc/stdio.d#L1047 
>>>
>>
>> That might be a mistake. Is fclose(f); getc(f); defined? -- Andrei
> 
> fclose is not @safe.

Ah, nice. Thanks! -- Andrei




More information about the Digitalmars-d mailing list