redhat man page for xltcheckargsize

Query: xltcheckargsize

OS: redhat

Section: 3x

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XltCheckArgSize(3X)													       XltCheckArgSize(3X)

NAME
XltCheckArgSize - Convenience macro for asserting that an ArgList is large enough.
SYNOPSIS
#include <Xlt/Xlt.h> void XltCheckArgSize(a, n) Arg a[]; Cardinal n;
DESCRIPTION
XltCheckArgSize simply asserts (using assert(3)) that a contains at least n elements. This macro will generally be used with arrays of Arg but it will work with any array (such as arrays of strings that you are about to pass to execvp(3) and execv(3)). If you've ever debugged a stack corruption because you said "Arg a[3]" when you meant "Arg a[4]", you'll understand why you want to use this macro. Note that the a parameter must be an array, a pointer will not work.
RETURN VALUE
None but it may cause abort(3) to be called.
SEE ALSO
XltGetValues(3X), XltSetValues(3X), assert(3). XltCheckArgSize(3X)
Related Man Pages
xltgetvalues(3x) - redhat
xtsetarg(3) - debian
xtmergearglists(3xt) - osf1
assert(3head) - sunos
xtsetarg(1) - hpux
Similar Topics in the Unix Linux Community
zcat --&gt; Arg list too long
Struggling with arrays and delimited file
question about int arrays and file pointer arrays
Split a large array into small chunks
Arg ._.