# IPXFARGC

POSIX Function: Returns the index of the last command-line argument.

## Module

USE IFPOSIX

result = IPXFARGC( )

## Results

The result type is INTEGER(4). The result value is the number of command-line arguments, excluding the command name, in the command used to invoke the executing program. A return value of zero indicates there are no command-line arguments other than the command name itself.

Parent topic: POSIX* Library Routines

## See Also

PXFGETARG