| CIAVDEF(1) | USER COMMANDS | CIAVDEF(1) |
|---|
Options
Show the values of all macros that start with MAX and defined in viewfile.h:
$ ciavdef macro 'MAX*' file=viewfile.h #define MAXLINENO 100000 #define MAXNUMLEN 8 #define MAXPAIRS 8 /* realloc when necessary */
Show all static variable declarations in viewline.c with line numbers:
$ ciavdef -n v - file=viewline.c sclass=static 000013;static FILE *fp; 000014;static char *srcfile;
Show the definition of the type 'struct list' with file name and line numbers:
$ ciavdef -g -n type 'struct list'
<file: liblist/list.h>
000022;typedef struct list {
000023; struct list_item *head;
000024; struct list_item *current;
000025;} LIST;
Show the source file viewline.h:
$ ciavdef file viewline.h
typedef struct line_pair {
int bline;
int eline;
} PAIR;
extern int viewlines(/* char *file, LIST *line_pairs */);
#define CIASRCDIR "CIASRCDIR"
| CIA User's Manual | March 1993 | February 16, 2009 |