📄 farg.h
字号:
/* $Header: /home/harrison/c/tcgmsg/ipcv4.0/RCS/farg.h,v 1.1 91/12/06 17:26:33 harrison Exp Locker: harrison $ *//* This include file defines ARGC_ and ARGV_ which are the appropriate global variables to get at the command argument list in the FORTRAN runtime environment. This will need to be modified for each new machine (try using nm or generating a full load map). *//* Used to be SEQUENT here but charged to _X_argv */#if defined(SUN) || defined(ALLIANT) || defined(ENCORE) || defined(CONVEX) || \ defined(KSR)#define ARGC_ xargc#define ARGV_ xargv#endif#if defined(ARDENT)#define ARGC_ _UT_argc#define ARGV_ _UT_argv#endif#if (defined(SGI) || defined(ULTRIX)) && !defined(DECFORT)#define ARGC_ f77argc#define ARGV_ f77argv#endif#if defined(DECFORT)#define ARGC_ __Argc#define ARGV_ __Argv#endif#if defined(AIX)#define ARGC_ p_xargc#define ARGV_ p_xargv#endif#if defined(CRAY)#define ARGC_ _argc#define ARGV_ _argv#endif#ifdef SEQUENT#define ARGC_ _X_argc#define ARGV_ _X_argv#endif#if defined(NEXT)#define ARGC_ _NXArgc#define ARGV_ _NXArgv#endif#if defined(HPUX)/* ARGC_ and ARGV_ are allocated and constructed in pbeginf */#elseextern int ARGC_;extern char **ARGV_;#endif/* Eample usestatic void PrintCommandArgList(){ int i; for (i=0; i<ARGC_; i++) (void) printf("argv(%d)=%s\n", i, ARGV_[i]);}*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -