Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/c/ctags.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/c/ctags.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/c/ctags.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/c/ctags.html on line 8

ctags

Generate tags files (POSIX)

Syntax:

ctags options files...

Runs on:

QNX Neutrino, Linux, Microsoft Windows

Options:

-a
Append to the tags file, instead of overwriting it.
-B
Use ?regexp? instead of /regexp/.
-Dword
Ignore word. This is handy for parameter macro names.
-e
Include extern tags.
-F
Use /regexp/ (the default).
-h
Add hints to help elvis distinguish between overloaded tags.
-i
Include inline definitions.
-l
(“el”) Add a ln line number hint (implies -h).
-N
Use line numbers instead of /regexp/.
-p
Write parsing information to stdout (for debugging ctags).
-r
Write a refs file, in addition to tags.
-s
Include static tags.
-t
Include typedefs.
-v
Include variable declarations.
-x
Write a cross-reference table to stdout instead of to the tags file.
files
The pathnames of the files that are to be scanned for tags.

Description:

The ctags utility generates a file called tags from a group of C source files.

Each C source file is scanned for #define statements and function definitions. The name of the macro or function becomes the name of a tag. For each tag, a line is added to the tags file, which contains:

If you don't specify any options, ctags uses -l -i -s -t -v.

The elvis, less, more, and vi utilities can use entries in the tags file to locate and display a definition.

Examples:

Generate tags for all the C source and header files in the current directory:

ctags *.[ch]

Contributing author:

Steve Kirkendall; ctags is part of the elvis suite.

See also:

elvis, less, more, vi


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/c/ctags.html on line 187

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/c/ctags.html on line 187