#include "machine.h"#include "core_math.h"#include "MALLOC.h"#include "getarg.h"Include dependency graph for getarg.c:

Go to the source code of this file.
Functions | |
| int | sci_iargc (void) |
| int | sci_getarg (int *, char *, long int ln) |
| int C2F() | iargc (void) |
| int C2F() | getarg (int *, char *, long int ln) |
| int C2F() | sciiargc () |
| int C2F() | scigetarg (int *n, char *str, long int ln) |
| int C2F() iargc | ( | void | ) |
Definition at line 548 of file winmain.c.
00549 { 00550 register char *t; 00551 register int i; 00552 00553 if(*n>=0 && *n <= my_argc) 00554 t = my_argv[*n]; 00555 else 00556 t = ""; 00557 00558 for(i = 0; i < ls && *t!='\0' ; ++i) 00559 *s++ = *t++; 00560 for( ; i<ls ; ++i) 00561 *s++ = ' '; 00562 return 0; 00563 }
| int sci_iargc | ( | void | ) |
TODO : comment
| n | ||
| str | ||
| ln |
Definition at line 31 of file getarg.c.
References C2F, getarg(), ln, n, sci_getarg(), and str.
Referenced by create_argv().
00032 { 00033 #ifdef _MSC_VER 00034 sci_getarg(n,str,ln); /* see wsci/winmain.c */ 00035 #else 00036 #ifdef G95_FORTRAN 00037 _gfortran_getarg_i4(n,str,ln); 00038 #else 00039 C2F(getarg)(n,str,ln); 00040 #endif 00041 #endif 00042 return 0; 00043 }
Here is the call graph for this function:

Here is the caller graph for this function:

| int C2F() sciiargc | ( | void | ) |
TODO : comment
Definition at line 16 of file getarg.c.
References C2F, iargc(), Max, sci_iargc(), and val.
Referenced by create_argv().
00017 { 00018 int val=0; 00019 #ifdef _MSC_VER 00020 val=sci_iargc(); /* see wsci/winmain.c */ 00021 #else 00022 #ifdef G95_FORTRAN 00023 val = _gfortran_iargc(); 00024 #else 00025 val=C2F(iargc)(); 00026 #endif 00027 #endif 00028 return Max(val,0); 00029 }
Here is the call graph for this function:

Here is the caller graph for this function:

1.5.1