File: ellipsis.c

package info (click to toggle)
c2man 2.41-11
  • links: PTS
  • area: main
  • in suites: potato
  • size: 800 kB
  • ctags: 863
  • sloc: ansic: 6,559; sh: 5,236; yacc: 839; lex: 621; makefile: 229; perl: 81
file content (15 lines) | stat: -rw-r--r-- 238 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
int             pr(int,...);

void            main(void)
{
    pr(3, 'a', 'b', 'c');
}

/* ellipsis test function */
int             pr(
	int nitems,		/* number of items */
	...			/* items */
)
{
    /* blah, blah, blah, blah, blah! */
}