** ** Module Header ******************************************************* ** ** ** ** Modules Revision 3.0 ** ** Providing a flexible user environment ** ** ** ** File: ModuleCmd_Load.c ** ** First Edition: 91/10/23 ** ** ** ** Authors: John Furlan, jlf@behere.com ** ** Jens Hamisch, jens@Strawberry.COM ** ** ** ** Description: The load and unload procedure that takes care of ** ** adding and removing modulefiles to and from the ** ** user's environment. ** ** ** ** Exports: ModuleCmd_Load ** ** ** ** Notes: ** ** ** ** ************************************************************************ **
| References Variables: | Id | ModuleCmd_Load.c |
#define __USER_LABEL_PREFIX__
#define __REGISTER_PREFIX__
#define __HAVE_BUILTIN_SETJMP__ 1
#define __SIZE_TYPE__
#define __PTRDIFF_TYPE__ int
#define __WCHAR_TYPE__
#define __WINT_TYPE__
#define __GNUC__ 2
#define __GNUC_MINOR__ 96
#define __GNUC_PATCHLEVEL__ 0
#define __ELF__ 1
#define unix 1
#define linux 1
#define __ELF__ 1
#define __unix__ 1
#define __linux__ 1
#define __unix 1
#define __linux 1
#define __NO_INLINE__ 1
#define i386 1
#define __i386 1
#define __i386__ 1
#define __tune_i386__ 1
| Used in: | ModuleCmd_Load.c |
UseId
static void* UseId[]
module_name
static char module_name[]
| Used in: | ModuleCmd_Load() |
** ** Function-Header ***************************************************** ** ** ** ** Function: ModuleCmd_Load ** ** ** ** Description: Execution of the module-commands 'load' and 'unload' ** ** ** ** First Edition: 91/10/23 ** ** ** ** Parameters: Tcl_Interp *interp Attached Tcl Interp. ** ** int load Controls 'load' or ** ** 'unload' to be done ** ** int argc Number of arguments ** ** char *argv[] Argument list ** ** ** ** Result: int 0 None of the passed modules ** ** has been load ** ** 1 At least one module has been ** ** read ** ** ** ** Attached Globals: specified_module The module name from the ** ** command line ** ** g_flags These are set up accordingly before ** ** this function is called in order to ** ** control everything ** ** g_current_module The module which is handled ** ** by the current command ** ** ** ** ************************************************************************ **int ModuleCmd_Load ( Tcl_Interp* interp, int load, int argc, char* argv[] )