File ModuleCmd_List.c

 ** ** Module Header ******************************************************* **
 ** 									     **
 **   Modules Revision 3.0						     **
 **   Providing a flexible user environment				     **
 ** 									     **
 **   File:		ModuleCmd_List.c				     **
 **   First Edition:	1991/10/23					     **
 ** 									     **
 **   Authors:	John Furlan, jlf@behere.com				     **
 **		Jens Hamisch, jens@Strawberry.COM			     **
 ** 									     **
 **   Description:	Lists the currently loaded modulefiles.		     **
 ** 									     **
 **   Exports:		ModuleCmd_List					     **
 ** 									     **
 **   Notes:								     **
 ** 									     **
 ** ************************************************************************ **
References Variables: Id ModuleCmd_List.c

Included Files


Local Variables

Id
static char Id[]
Used in:   ModuleCmd_List.c

UseId
static void* UseId[]

module_name
static char module_name[]

Used in: ModuleCmd_List()  

_proc_ModuleCmd_List
static char _proc_ModuleCmd_List[]


Global Function ModuleCmd_List()

 ** ** Function-Header ***************************************************** **
 ** 									     **
 **   Function:		ModuleCmd_List					     **
 ** 									     **
 **   Description:	Execution of the module-command 'list'		     **
 **			Lists all modules stored in the environment variable **
 **			'LOADEDMODULES'					     **
 ** 									     **
 **   First Edition:	1991/10/23					     **
 ** 									     **
 **   Parameters:	Tcl_Interp	*interp		Attached Tcl Interp. **
 **			int		 argc		Number of args	     **
 **			char 		*argv[]		Argument list	     **
 ** 									     **
 **   Result:		int	TCL_ERROR	Failure			     **
 **				TCL_OK		Successfull operation	     **
 ** 									     **
 **   Attached Globals:							     **
 ** 									     **
 ** ************************************************************************ **
int ModuleCmd_List ( Tcl_Interp* interp, int argc, char* argv[] )
Prototyped in: modules_def.h
Calls: Module_Error() error.c
  SourceRC() locate_module.c
  SourceVers() locate_module.c
  getLMFILES() utility.c
  print_aligned_files() ModuleCmd_Avail.c
  fprintf(), getenv(), strchr(), strlen(), strtok()
Called by: cmdModule() cmdModule.c
References Variables: long_header ModuleCmd_Avail.c
  module_name ModuleCmd_List.c
  modulerc_file main.c
  sw_format main.c