The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

cxref (1)
  • >> cxref (1) ( Solaris man: Команды и прикладные программы пользовательского уровня )
  • cxref (1) ( POSIX man: Команды и прикладные программы пользовательского уровня )
  • 
    NAME
         cxref - generate C program cross-reference
    
    SYNOPSIS
         ccxxrreeff [[options]] files
    
    DESCRIPTION
         The ccxxrreeff command analyzes  a  collection  of  C  files  and
         builds  a  cross-reference table.  ccxxrreeff uses a special ver-
         sion of cccc to include ##ddeeffiinnee'd information  in  its  symbol
         table.   It  generates  a list of all symbols (auto, static,
         and global) in each individual file, or, with the --cc option,
         in combination.  The table includes four fields: NAME, FILE,
         FUNCTION, and LINE. The line numbers appearing in  the  LINE
         field  also  show reference marks as appropriate. The refer-
         ence marks include:
    
              assignment     =
              declaration    -
              definition     *
    
    
         If no reference marks  appear,  you  can  assume  a  general
         reference.
    
    OPTIONS
         ccxxrreeff interprets the --DD, --II, --UU options in the  same  manner
         that  cccc  does.  In addition, ccxxrreeff interprets the following
         options:
    
         --CC      Run only the first pass of  ccxxrreeff,  creating  a  ..ccxx
                 file  that  can  later  be passed to ccxxrreeff.  This is
                 similar to the --cc option of cccc or lliinntt.
    
         --cc      Combine the  source  files  into  a  single  report.
                 Without  the  --cc  option, ccxxrreeff generates a separate
                 report for each file on the command line.
    
         --dd      Disable printing  declarations,  making  the  report
                 easier to read.
    
         --FF      Print the full path of the referenced file names.
    
         --LLcols  Modify the number of columns in the LINE field.   If
                 you  do  not  specify  -L,  cxref  defaults  to five
                 columns.
    
         --ll      Do not print local variables.  Print only global and
                 file scope statistics.
    
         --oo file Direct output to file.
    
         -R      Include referenced functions in the  cross-reference
                 list..
    
         --ss      Operate silently; do not print input file names.
    
         --tt      Format listing for 80-column width.
    
         --VV      Print version information on the standard error.
    
         --WWname,file, function, line
                 Change the default width of at least one field.  The
                 default widths are:
                 Field       Characters
    
                 NAME        15
                 FILE        13
                 FUNCTION    15
                 LINE        20 (4 per column)
    
    
         --wwnum   Format output no wider than num  (decimal)  columns.
                 If  -w  is not specified, or if num is less than 51,
                 the width will default to 80 columns.
    
    ENVIRONMENT
         TMPDIR    cxref writes temporary files to the directory  set
                   by  this environmental variable.  If TMPDIR is not
                   set,  cxref  uses   /var/tmp   [see   tempnam   in
                   tmpnam(3S)].
    
    FILES
         TTMMPPDDIIRR//ttccxx..**        temporary files
    
         TTMMPPDDIIRR//ccxx..**         temporary files
    
    EXAMPLE
         a.c
    
         1    main()
         2    {
         3         int i;
         4         extern char c;
         5
         6         i=65;
         7         c=(char)i;
         8    }
    
    
    
         Resulting cross-reference table:
    
         NAME    FILE          FUNCTION    LINE
    
         c       a.c           ---         4-      7=
         i       a.c           main        3*      6=   7
         main    a.c           ---         2*
    
    
    SEE ALSO
         lint(1), cc(1)
    
    DIAGNOSTICS
         Error messages usually mean you cannot compile the files.
    
    
    
    


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру