getarg.3

来自「莱昂氏UNIX源代码分析UNIXv6src.tar.gz」· 3 代码 · 共 50 行

3
50
字号
.th GETARG III 11/24/73.sh NAMEgetarg, iargc \*- get command arguments from Fortran.sh SYNOPSIS.ft Bcall getarg ( i, iarray \fR[ \fB, isize \fR]\fB ).s3.li... = iargc(dummy).ft R.sh DESCRIPTIONThe.it getargentry fills in.it iarray(which is considered to be.it integer)with the Hollerith string representing the.it ithargument to the commandin which it it is called.If no.it isizeargument is specified,at least one blank is placed after the argument,and the last word affected is blank padded.The user should make sure that the array is big enough..s3If the.it isizeargument is given,the argument will be followed by blanksto fill up.it isizewords, but even if the argument is long no more thanthat many words will be filled in..s3The blank-padded array is suitable for use as anargument to setfil (III)..s3The.it iargcentry returns the number of arguments to the command,counting the first (file-name) argument..sh "SEE ALSO"exec (II),setfil (III).sh BUGS

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?