开发者

Flush a pipe associated to an NSFileHandle

I am reading piped output from a console application via an NSFileHandle in Cocoa. How can I flush the stream associated to that file handle. If I could get a FILE* object fro开发者_JAVA百科m the NSFileHandle I could call fflush(). Is there a way around this?


I believe the equivalent in NSFileHandle is -synchronizeFile.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜