Doxygen Source Code Documentation
Main Page Alphabetical List Data Structures File List Data Fields Globals Search
getarg_.c File Reference
#include "f2c.h"
Go to the source code of this file.
Function Documentation
|
Definition at line 12 of file getarg_.c.
References i, xargc, and xargv.
00014 {
00015 extern int xargc;
00016 extern char **xargv;
00017 register char *t;
00018 register int i;
00019
00020 if(*n>=0 && *n<xargc)
00021 t = xargv[*n];
00022 else
00023 t = "";
00024 for(i = 0; i<ls && *t!='\0' ; ++i)
00025 *s++ = *t++;
00026 for( ; i<ls ; ++i)
00027 *s++ = ' ';
00028 }
|