|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Studio 12.3: Debugging a Program With dbx Oracle Solaris Studio 12.3 Information Library|
The which command prints the full qualification of a given name. It is valid only in native mode.
Print full qualification of name.
Print full qualification of type.
name is the name of something that is in scope; for example, a variable, function, class template, or function template.
type is the name of a type.
-n displays the full qualification of a non-type. It is not necessary to specify -n; this is the default if you type the which command with no options.
-t displays the full qualification of a type.
-m forces macro lookup even if the dbx environment variable macro_expand is set to off.
+m defeats macro lookup so that any symbols that might have been shadowed by macros are found instead.