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.
- Minor std.stdio.File.ByLine rant H. S. Teoh
- Re: Minor std.stdio.File.ByLine rant bearophile
- Re: Minor std.stdio.File.ByLine rant Jakob Ovrum
- Re: Minor std.stdio.File.ByLine rant H. S. Teoh
- Re: Minor std.stdio.File.ByLine rant Jakob Ovrum
- Re: Minor std.stdio.File.ByLine rant H. S. Teoh
- Re: Minor std.stdio.File.ByLine rant Jakob Ovrum
- Re: Minor std.stdio.File.ByLine rant Steven Schveighoffer
- Re: Minor std.stdio.File.ByLine rant H. S. Teoh
- Re: Minor std.stdio.File.ByLine rant Sean Kelly
- Re: Minor std.stdio.File.ByLine rant Steven Schveighoffer
- Re: Minor std.stdio.File.ByLine rant Steven Schveighoffer
- Re: Minor std.stdio.File.ByLine rant H. S. Teoh
- Re: Minor std.stdio.File.ByLine rant Steven Schveighoffer
- Re: Minor std.stdio.File.ByLine rant H. S. Teoh
- Re: Minor std.stdio.File.ByLine rant Steven Schveighoffer