CSCOPE(1) CSCOPE(1) (NAME) cscope - C (SYNOPSIS) cscope [-bCcdehkLlqRTUuVvX] [-Fsymfile] [-freffile] [-Iincdir] [-inamefile] [-0123456789pattern] [-pn] [-sdir] [files] (DESCRIPTION) cscope C . cscope C (.c .h) (.l) (.y) . cscope . cscope #include . cscope (symbol cross-reference) cscope.out . cscope . cscope . . (OPTIONS) cscope . : -h . -V cscope . --help -h --version -V : -b ( ). -C . -c . -d . -e -e . -Fsymfile symfile. ( < >> < ). -freffile reffile "cscope.out". -Iincdir incdir ( $INCDIR /usr/include ) #include "/" namefile . incdir . -inamefile namefile ( ) cscope.files. . -k ("Kernel Mode") include ( /usr/include) . -L -num pattern . -l (Line-oriented interface). -[0-9]pattern num ( 0) pattern. -Ppath path . -d . -pn n (1). 0 . -q (inverted index). ("cscope.in.out" "cscope.po.out") . -R . -sdir dir . -T C. -U . . -u ( ). -v . -X cscope . files . -I -c -k -p -q -T cscope.files . (Requesting the initial search) cscope : Find this C symbol: Find this function definition: Find functions called by this function: Find functions calling this function: Find this text string: Change this text string: Find this egrep pattern: Find this file: Find files #including this file: Find assignments to this symbol: . (Issuing subsequent requests) : 0-9a-zA-Z . . . . . + . - . ^e . > . >> . < ( > >>) -F. ^ . | (pipe) . : . ^n . ^p . ^y . ^b . ^f . ^c / . ^r . ! ( ^d cscope). ^l . ? cscope. ^d cscope. : ( . cscope . : 0-9a-zA-Z . * . . + . - . a . ^d . . ! ( ^d cscope). ^l . ? cscope. vi . ^l + - . (Line-Oriented interface) -l cscope ( ) . cscope << ( 0) "lmain" main . -l -L -num pattern << . -l : cscope: 2 lines cscope : main.c main 161 main(argc, argv) . c . r . cscope (EOF) "^d" "q" . (ENVIRONMENT VARIABLES) CSCOPE_EDITOR EDITOR VIEWER . CSCOPE_LINEFLAG . cscope "editor +N file" N . %s "-#%s". CSCOPE_LINEFLAG_AFTER_FILE "yes" . EDITOR vi . HOME . INCLUDEDIRS #include. SHELL sh . SOURCEDIRS . TERM . TERMINFO terminfo. TMPDIR /var/tmp . VIEWER ( less) EDITOR . VPATH . (FILES) cscope.files -I -p -q -T . cscope.out . cscope.in.out cscope.po.out ( -q). INCDIR #include ( /usr/include). (Notices) cscope : fname blank ( args ) white arg_decs white { : fname blank args white arg_decs . . cscope . "Function" Find functions called by this function . #if . . typedef . . . cscope C++ class struct . (operator) . The Santa Cruz Operation January 2007 CSCOPE(1)