Annotation of researchv10dc/dist/man/v4/man3/getarg.3, revision 1.1.1.1

1.1       root        1: .th GETARG III 11/24/73
                      2: .sh NAME
                      3: getarg \*- get command arguments from Fortran
                      4: .sh SYNOPSIS
                      5: .ft B
                      6: call getarg ( i, iarray, \fR[ \fB, isize \fR]\fB )
                      7: .s3
                      8: .li
                      9: ... = iargc(dummy)
                     10: .ft R
                     11: .sh DESCRIPTION
                     12: The
                     13: .it getarg
                     14: entry fills in
                     15: .it iarray
                     16: (which is considered to be
                     17: .it integer)
                     18: with the Hollerith string representing the
                     19: .it i
                     20: th
                     21: argument to the command
                     22: in which it it is called.
                     23: If no
                     24: .it isize
                     25: argument is specified,
                     26: at least one blank is placed after the argument,
                     27: and the last word affected is blank padded.
                     28: The user should make sure that the array is big enough.
                     29: .s3
                     30: If the
                     31: .it isize
                     32: argument is given,
                     33: the argument will be followed by blanks
                     34: to fill up
                     35: .it isize
                     36: words, but even if the argument is long no more than
                     37: that many words will be filled in.
                     38: .s3
                     39: The blank-padded array is suitable for use as an
                     40: argument to setfil (III).
                     41: .s3
                     42: The
                     43: .it iargc
                     44: entry returns the number of arguments to the command,
                     45: counting the first (file-name) argument.
                     46: .sh "SEE ALSO"
                     47: exec (II),
                     48: setfil (III)
                     49: .sh BUGS

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.