Next: set command, Previous: editor command, Up: Dot-Commands [Contents][Index]
.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 Bias Size Name #1 FILE r 0x00000000#B 0x0000df78#B foo.o * #0 FILE rw 0x00000000#B 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 Bias Size Name * #1 FILE r 0x00000000#B 0x0000df78#B foo.o #0 FILE rw 0x00000000#B 0x00000022#B foo.bson
.info variables [regexp]
Shows a list of defined variables along with their current values and the location where the variables were defined. If a regular expression is provided then only the types whose name match the expression are listed. If a regular expression is provided then only the types whose name match the expression are listed.
.info functions [regexp]
Shows a list of defined functions along with their prototypes and the location where the functions were defined. If a regular expression is provided then only the types whose name match the expression are listed. If a regular expression is provided then only the types whose name match the expression are listed.
.info types [regexp]
Shows a list of defined types along with the locations where the types were defined. If a regular expression is provided then only the types whose name match the expression are listed.
.info type name
Prints a description of the type with name name.
Next: set command, Previous: editor command, Up: Dot-Commands [Contents][Index]