Minor std.stdio.File.ByLine rant

Steven Schveighoffer schveiguy at yahoo.com
Thu Feb 27 08:29:42 PST 2014


On Thu, 27 Feb 2014 11:22:45 -0500, Sean Kelly <sean at invisibleduck.org>  
wrote:

> Are the peek routines standard?  I'm on my phone so I can't easily check  
> right now. Barring that, there's an ioctl call that can tell whether  
> data is available, though I'm not sure offhand what the result would be  
> for a file if you haven't read anything yet.

Peek doesn't help. You can't, in a non-blocking way, tell if input will be  
forthcoming without actually receiving the input.

-Steve


More information about the Digitalmars-d mailing list