Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Mird
Mird.Glue
Mird.Glue.Scanner

Method Mird.Glue.Scanner()->read()


Method read

zero|mapping(string|int:string) read(int n)

Description

Reads some tupels from the table the scanner is directed against; the size of the resulting mapping is close to this number.

Returns

a mapping of the next (about) n tupels in the table, or zero if there is no more tupels in the table

Note

a buffer directly depending on this size is allocated; it's not recommended doing a "read(0x7fffffff)".