Next: mpg-top-fin, Previous: mpg-top-fnm, Up: mpg-top [Contents][Index]
byte_count(+S,-N)N is the number of bytes read/written on binary stream S
character_count(+S,-N)N is the number of characters read/written on text stream S
close(+F) ISOclose(+F,+O) ISOclose file or stream F with options O
current_input(-S) ISOS is the current input stream
current_output(-S) ISOS is the current output stream
current_stream(?F,?M,?S)S is a stream open on file F in mode M
line_count(+S,-N)N is the number of lines read/written on text stream S
line_position(+S,-N)N is the number of characters read/written on the current line of text stream S
open(+F,+M,-S) ISOopen(+F,+M,-S,+O) ISOfile F is opened in mode M, options O, returning stream S
open_null_stream(+S)new output to text stream S goes nowhere
prompt(-O,+N)queries or changes the prompt string of the current input stream
see(+F)make file F the current input stream
seeing(-N)the current input stream is named N
seek(+S,+O,+M,+N)seek to an arbitrary byte position on the stream S
seenclose the current input stream
set_input(+S) ISOselect S as the current input stream
set_output(+S) ISOselect S as the current output stream
set_stream_position(+S,+P) ISOP is the new position of stream S
stream_code(?S,?C)Converts between Prolog and C representations of a stream
stream_position(+S,-P)P is the current position of stream S
stream_position_data(?Field,?Position,?Data)The Field field of the stream position term Position is Data.
stream_property(?Stream, ?Property) ISOStream Stream has property Property.
tell(+F)make file F the current output stream
telling(-N)to file N
toldclose the current output stream