Next: , Previous: , Up: Dot-Commands   [Contents][Index]


15.10 .info

The .info command provides information about several kinds of entities. The recognized sub commands are:

.info ios

Display a list of open files.

(poke) .info ios
Id	Type	Mode	Size		Name
  #1	FILE	r	0x0000df78#B	foo.o
* #0	FILE	rw	0x00000022#B	foo.bson

The file acting as the current IO space is marked with an asterisk character * at the beginning of the file. The mode in which the file is open is also specified. The Id field is the tag of the file that can be passed to the .file command in order to switch to it as the new current IO space:

(poke) .ios #1
The current file is now `foo.o'.
(poke) .info ios
  Id	Type	Mode	Size		Name
* #1	FILE	r	0x0000df78#B	foo.o
  #0	FILE	rw	0x00000022#B	foo.bson
.info variables

Shows a list of defined variables along with their current values and the location where the variables were defined.

.info functions

Shows a list of defined functions along with their prototypes and the location where the functions were defined.

.info types

Shows a list of defined types along with the locations where the types were defined.