exp subcommand

The exp subcommand looks for an exported symbol or displays the entire export list.

Format

exp [symbol]

Parameters

Item Description
symbol Specifies the symbol name to locate in the export list. This parameter is an ASCII string.

If no parameter is specified, the entire export list is displayed. If a symbol name is specified as a parameter and that symbol is in the export list, then that symbol name is displayed. If a symbol name is specified that is not in the list, then all symbols that begin with the input string are displayed.

Other

No aliases.

Examples

The following is an example of how to use the exp subcommand:

   KDB(0)> exp  //list export table
   019A7708 puthere
   0007BE90 vmminfo
   00081FD4 socket
   01A28A50 tcp_input
   01A28BFC in_pcb_hash_del
   019A78E8 adjmsg
   0000BAB8 execexit
   00325138 loif
   01980874 lvm_kp_tid
   000816E4 ns_detach
   019A7930 mps_wakeup
   01A28C50 ip_forward
   00081E60 ksettickd
   000810AC uiomove
   000811EC blkflush
   0018D97C setpriv
   01A5CD38 clntkudp_init
   000820D0 soqremque
   00178824 devtosth
   00081984 rtinithead
   01A5CD8C xdr_rmtcall_args
   (0)> more (^C to quit) ? ^C //interrupt
KDB(0)> exp send //display symbol 'send'
   007EF084 send
KDB(0)> exp sen //display all symbols that start with 'sen'
   ........  2573 export entries
   007EF54C send_file
   007EF078 sendmsg
   007EF090 sendto
   007F5B38 send_file_duration
   007EF084 send
KDB(0)>