man(1) Manual page archive


NAME
     nargs - argument count

SYNOPSIS
     nargs( )

DESCRIPTION
     Nargs returns the number of actual parameters supplied by
     the caller of the routine which calls nargs.

     The argument count is accurate only when none of the actual
     parameters is float or double.  Such parameters count as
     four arguments instead of one.

BUGS
     As indicated.  Also, this routine does not work (and cannot
     be made to work) in programs with separated I and D space.
     Altogether it is best to avoid using this routine and
     depend, for example, on passing an explicit argument count.

 1