D-Programming-Language/phobos — pull request #2003 by tom-tan (2014-03-13 05:18:02+00:00)
Title: Mark std.stdio.File.close as @trusted

It uses system functions `core.stdc.stdlib.free`, `core.sys.posix.stdio.pclose` and `core.stdc.stdio.fclose` but we can verify that they will not cause undefined behaviors in `File.close`.