vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Wed, Mar 29, 2006 at 03:54:52PM +0200, Matthias Kilian wrote: > This describes return value of cmd | getline [var] and the behaviour > of fflush() without arguments[1]. > > > diff -x CVS -rNu ../awk.orig/awk.1 ./awk.1 > --- ../awk.orig/awk.1 Fri May 13 20:55:02 2005 > +++ ./awk.1 Wed Mar 29 15:45:26 2006 > @@ -610,9 +610,14 @@ > will read subsequent records from the stream. > The stream remains open until explicitly closed with a call to > .Fn close . > -.It Fn fflush expr > +.Ic getline > +returns 1 for a successful input, 0 for end of file, and \-1 for an error. > +.It Fn fflush [expr] > Flushes any buffered output for the file or pipe > -.Fa expr . > +.Fa expr > +or all open files or pipes if > +.Fa expr > +is omitted. > .Fa expr > should match the string that was used to open the file or pipe. > .It Ic getline > fixed, thanks. jmc |