#include "../graphics/Math.h"Include dependency graph for getarg-hpux.c:

Go to the source code of this file.
Functions | |
| int | sci_iargc (void) |
| int | sci_getarg (int *, char *, long int ln) |
| int | iargc_ (void) |
| int | getarg_ (int *, char *, long int ln) |
| int C2F() | sciiargc () |
| int C2F() | scigetarg (int *n, char *str, long int ln) |
| int iargc_ | ( | void | ) |
Definition at line 9 of file iargc_.c.
References xargc.
Referenced by sciiargc().
00011 { 00012 extern int xargc; 00013 return ( xargc - 1 ); 00014 }
Here is the caller graph for this function:

Definition at line 548 of file winmain.c.
Referenced by scigetarg().
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 }
Here is the caller graph for this function:

| int sci_iargc | ( | void | ) |
Definition at line 543 of file winmain.c.
Referenced by sciiargc().
00544 { 00545 return my_argc -1 ; 00546 }
Here is the caller graph for this function:

TODO : comment
| n | ||
| str | ||
| ln |
Definition at line 24 of file getarg-hpux.c.
References getarg_(), ln, n, sci_getarg(), and str.
00025 { 00026 #ifdef __MSC_VER 00027 sci_getarg(n,str,ln); /* see wsci/winmain.c */ 00028 #else 00029 getarg_(n,str,ln); 00030 #endif 00031 return 0; 00032 }
Here is the call graph for this function:

| int C2F() sciiargc | ( | void | ) |
TODO : comment
Definition at line 13 of file getarg-hpux.c.
References iargc_(), Max, sci_iargc(), and val.
00014 { 00015 int val; 00016 #ifdef _MSC_VER 00017 val=sci_iargc(); /* see wsci/winmain.c */ 00018 #else 00019 val=iargc_(); 00020 #endif 00021 return Max(val,0); 00022 }
Here is the call graph for this function:

1.5.1