home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
EFFO
/
forum7.lzh
/
RICO
/
MAN
/
man.varargs
< prev
Wrap
Text File
|
1988-09-26
|
1KB
|
50 lines
VARARGS(library) os9-68000 Programmers Manual VARARGS(library)
NAME
varargs - variable arguments library
SYNOPSIS
#include <varargs.h>
<function>(<known args>, vaalist)
<known args declaration>
vadcl
{
<local vars>
valist va;
vastart(&va);
<arg1>=vaarg(&va,<arg1 type>);
<arg2>=vaarg(&va,<arg2 type>);
...
vaend(&va);
<statements>
}
DESCRIPTION
The variable arguments part passed to the function is
represented by vaalist and is declared by vadcl. Arguments
are accessed via some structure valist, which has to be
initialized by vastart and released by vaend. Each
argument is accessed by vaarg, which assignes a value of a
certain type to the receiving variable.
SEE ALSO
Source of argproc.
AUTHOR
Rico Cozzio
LIBRARY
Use argproc.l