getarg(3F) getarg(3F)
NAME
getarg - return FORTRAN command-line argument
SYNOPSIS
character*N c
integer i
getarg (i, c)
DESCRIPTION
getarg returns the i-th command-line argument of the current
process. Thus, if a program were invoked with:
foo arg1 arg2 arg3
getarg(2, c) would return the string arg2 in the character
variable c.
SEE ALSO
getopt(3C).
Page 1 (last mod. 1/14/87)