# 2.11BSD#431 - /usr/src/libexec/tcpd/mystdarg.h

##### Macros

    VAEND             X
    VARARGS           X
    VASTART           X

       1:
       2:  /*
       3:   * What follows is an attempt to unify varargs.h and stdarg.h. I'd rather
       4:   * have this than #ifdefs all over the code.
       5:   */
       6:
       7: #ifdef __STDC__
       8: #include <stdarg.h>
       9: #define VARARGS(func,type,arg) func(type arg, ...)
      10: #define VASTART(ap,type,name)  va_start(ap,name)
      11: #define VAEND(ap)              va_end(ap)
      12: #else
      13: #include <varargs.h>
      14: #define VARARGS(func,type,arg) func(va_alist) va_dcl
      15: #define VASTART(ap,type,name)  {type name; va_start(ap); name = va_arg(ap, type)
      16: #define VAEND(ap)              va_end(ap);}
      17: #endif
      18:
      19: extern char *percent_m();

#### Defined macros

VAEND defined in line 16; used 5 times

- in /usr/src/libexec/tcpd/diag.c line 56, 67
- in /usr/src/libexec/tcpd/fakelog.c line 54
- in /usr/src/libexec/tcpd/update.c line 104, 117

VARARGS defined in line 14; never used
VASTART defined in line 15; used 5 times

- in /usr/src/libexec/tcpd/diag.c line 54, 65
- in /usr/src/libexec/tcpd/fakelog.c line 51
- in /usr/src/libexec/tcpd/update.c line 96, 115

#### Usage of this include

mystdarg.h used 5 times

- in /usr/src/libexec/tcpd/diag.c line 25
- in /usr/src/libexec/tcpd/fakelog.c line 14
- in /usr/src/libexec/tcpd/myvsyslog.c line 19
- in /usr/src/libexec/tcpd/percent_m.c line 15
- in /usr/src/libexec/tcpd/update.c line 28

Last modified: 1994-12-28 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 446 |