Query: xltcheckargsize
OS: redhat
Section: 3x
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XltCheckArgSize(3X) XltCheckArgSize(3X)NAMEXltCheckArgSize - Convenience macro for asserting that an ArgList is large enough.SYNOPSIS#include <Xlt/Xlt.h> void XltCheckArgSize(a, n) Arg a[]; Cardinal n;DESCRIPTIONXltCheckArgSize 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 VALUENone but it may cause abort(3) to be called.SEE ALSOXltGetValues(3X), XltSetValues(3X), assert(3). XltCheckArgSize(3X)
Related Man Pages |
---|
xltsetvalues(3x) - redhat |
xtmergearglists(3) - centos |
xtsetarg(3) - centos |
xtsetarg(3) - hpux |
assert.h(3head) - centos |
Similar Topics in the Unix Linux Community |
---|
Initializations for very large arrays. |
zcat --> Arg list too long |
execvp:ar:Arg list too long -> while linking |
working with arrays |
Arg ._. |