ipxfargc(3F)

IPXFARGC - Returns the number of command-line arguments excluding the command name

As shipped in IRIX 6.5.15. Last changed in IRIX 6.5.5.

NAME
     IPXFARGC - Returns the number of command-line arguments excluding the
     command name

SYNOPSIS
     INTEGER FUNCTION IPXFARGC()

IMPLEMENTATION
     UNICOS, UNICOS/mk, and IRIX systems

DESCRIPTION
     On IRIX systems, this routine is in libfortran.so which is linked by
     default when you compile programs with the MIPSpro 7 Fortran 90
     compiler or when compiling programs with the -craylibs option to the
     MIPSpro F77 compiler.

     The IPXFARGC function returns the number of command-line arguments in
     the command used to invoke the executing program.  The command name is
     not included in the number returned.  A return value of 0 indicates
     that there are no command-line arguments other than the command name
     itself.

SEE ALSO
     Application Programmer's Library Reference Manual for the printed
     version of this man page.