added File.getFP() with type FILE*

This commit is contained in:
Andrei Alexandrescu 2009-04-19 20:39:08 +00:00
parent 1b28fbcc4b
commit 80e711a986

View file

@ -615,7 +615,7 @@ File) never takes the initiative in closing the file. */
/** /**
Returns the $(D FILE*) corresponding to this object. Returns the $(D FILE*) corresponding to this object.
*/ */
auto getFP() FILE* getFP()
{ {
enforce(p && p.handle, enforce(p && p.handle,
"Attempting to call getFP() on an unopened file"); "Attempting to call getFP() on an unopened file");