16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Files<br />

Usage notes<br />

Exit Values<br />

Portability<br />

v LC_MESSAGES<br />

v LC_TIME<br />

See Appendix F for more information.<br />

ctags uses the following file:<br />

tags Output tags file<br />

Related Information<br />

more, sort, vi<br />

1. It can be difficult to recognize a function definition in C source code. Because<br />

ctags does not know which C preprocessor symbols are defined, there may be<br />

some misplaced function definition information if sections of code within<br />

#if...#endif are not complete blocks.<br />

2. ctags invokes the sort internally.<br />

3. ctags makes special provision for the main() function, which may occur in<br />

several C source files. The tags file contains an entry for the first main() routine<br />

found. For all occurrences of main(), including the first, the tags file contains an<br />

entry for Mname, where name is the name of the input source file, with the .c<br />

suffix and any leading pathname components removed. For example, a tags file<br />

created for a C source code file named foo.c would contain an entry for Mfoo,<br />

which represents the main() routine in foo.c).<br />

4. ctags uses sort to sort the file by tag name, according to the P<strong>OS</strong>IX locale’s<br />

collation sequence.<br />

0 Successful completion<br />

1 Failure due to any of the following:<br />

v Unknown command-line option<br />

v Cannot create the output file<br />

v Cannot open the output file<br />

v One of the input files was unrecognized<br />

P<strong>OS</strong>IX.2, X/Open Portability Guide, 4.2BSD and higher.<br />

This utility only understands characters from the P<strong>OS</strong>IX locale.<br />

The –B, –F, and –w options are extensions to the P<strong>OS</strong>IX and XPG standards.<br />

See the tags file format description in Appendix H.<br />

cu — Call up another system (stub only)<br />

Format<br />

cu [–dehot] [–l device_name] [–s speed] [system_name | phone_num]<br />

cu –n [–dehot] [–l device_name] [–s speed]<br />

ctags<br />

Chapter 2. Shell command descriptions 177

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!