File ModuleCmd_Update.c

 ** ** Module Header ******************************************************* **
 ** 									     **
 **   Modules Revision 3.0						     **
 **   Providing a flexible user environment				     **
 ** 									     **
 **   File:		ModuleCmd_Update.c				     **
 **   First Edition:	91/10/23					     **
 ** 									     **
 **   Authors:	John Furlan, jlf@behere.com				     **
 **		Jens Hamisch, jens@Strawberry.COM			     **
 ** 									     **
 **   Description: 	Uses the beginning environment stored the first time **
 **			each login session to reload all of the currently    **
 ** 									     **
 ** 									     **
 **   Notes:								     **
 ** 									     **
 ** ************************************************************************ **
References Variables: IdModuleCmd_Update.c

Included Files


Preprocessor definitions

#define UPD_BUFSIZE 1024

Local Variables

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

UseId
static void* UseId[]

module_name
static char module_name[]
Used in: ModuleCmd_Update()


Global Function ModuleCmd_Update()

 ** ** Function-Header ***************************************************** **
 ** 									     **
 **   Function:		ModuleCmd_Update				     **
 ** 									     **
 **   Description:	Execution of the module-command 'update'	     **
 ** 									     **
 **   First Edition:	91/10/23					     **
 ** 									     **
 **   Parameters:	Tcl_Interp	*interp		Attached Tcl Interp. **
 **			int		 argc		Number of arguments  **
 **			char 		*argv[]		Argument list	     **
 ** 									     **
 **   Result:		int	TCL_ERROR	Failure			     **
 **				TCL_OK		Successfull operation	     **
 ** 									     **
 **   Attached Globals:	flags		Controllig the callback functions    **
 ** 									     **
 ** ************************************************************************ **
int ModuleCmd_Update ( Tcl_Interp* interp, int count, char* module_list[] )
Prototyped in: modules_def.h
Calls: ModuleCmd_Load()ModuleCmd_Load.c
  Module_Error()error.c
  moduleSetenv()cmdSetenv.c
  Tcl_GetVar2(), Tcl_SetVar2(), fclose(), feof(), fgetc(), fopen(), getenv(), malloc(), realloc(), strchr(), strcpy(), strlen(), strncmp(), strtok()
Called by: cmdModule()cmdModule.c
References Variables: module_nameModuleCmd_Update.c