Files
modules/xref/ModuleCmd_Update.c.html
rk bc0780d5ab * Removed warning message for unloading a module that's not loaded.
* Added source code cross-referencing via cxref-1.5b(patched)
2000-06-28 14:39:23 +00:00

140 lines
4.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!-- This HTML file generated by cxref. -->
<!-- cxref program (c) Andrew M. Bishop 1995,96,97,98,99. -->
<!--
Cxref: cxref -block-comments -verbatim-comments -xref-all -index-all -html -Oxref ModuleCmd_Update.c
CPP : gcc -E -C -dD -dI
-->
<HTML>
<HEAD>
<TITLE>Cross reference for ModuleCmd_Update.c of cxref.</TITLE>
</HEAD>
<BODY>
<h1><a name="file">File ModuleCmd_Update.c</a></h1>
<pre>
** ** 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: **
** **
** ************************************************************************ **
</pre>
<table>
<tr><td>References Variables:
<td><a href="ModuleCmd_Update.c.html#var-Id">Id</a><td><a href="ModuleCmd_Update.c.html#var-Id">ModuleCmd_Update.c</a>
</table>
<hr>
<h2>Included Files</h2>
<ul>
<li><tt><a href="modules_def.h.html#file">#include &quot;modules_def.h&quot;</a></tt>
<ul>
<li><tt>#include &lt;stdio.h&gt;</tt>
<li><tt>#include &lt;tcl.h&gt;</tt>
<li><tt><a href="config.h.html#file">#include &quot;config.h&quot;</a></tt>
<li><tt>#include &lt;stdlib.h&gt;</tt>
<li><tt>#include &lt;string.h&gt;</tt>
<li><tt>#include &lt;unistd.h&gt;</tt>
<li><tt>#include &lt;sys/types.h&gt;</tt>
<li><tt>#include &lt;ctype.h&gt;</tt>
<li><tt>#include &lt;sys/stat.h&gt;</tt>
<li><tt>#include &lt;sys/termios.h&gt;</tt>
<li><tt>#include &lt;fcntl.h&gt;</tt>
<li><tt>#include &lt;sys/ioctl.h&gt;</tt>
<li><tt>#include &lt;dirent.h&gt;</tt>
<li><tt>#include &lt;errno.h&gt;</tt>
</ul>
</ul>
<hr>
<h2>Preprocessor definitions</h2>
<tt>#define UPD_BUFSIZE 1024</tt><br>
<hr>
<h2>Local Variables</h2>
<b><a name="var-Id">Id</a></b><br>
<tt>static char Id[]</tt><br>
<table>
<tr><td>Used in:
<td>&nbsp;<td><a href="ModuleCmd_Update.c.html#file">ModuleCmd_Update.c</a>
</table>
<p>
<b><a name="var-UseId">UseId</a></b><br>
<tt>static void* UseId[]</tt><br>
<p>
<b><a name="var-module_name">module_name</a></b><br>
<tt>static char module_name[]</tt><br>
<table>
<tr><td>Used in:
<td><a href="#func-ModuleCmd_Update">ModuleCmd_Update()</a>
</table>
<hr>
<h2><a name="func-ModuleCmd_Update">Global Function ModuleCmd_Update()</a></h2>
<pre>
** ** 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 **
** **
** ************************************************************************ **
</pre>
<tt>int ModuleCmd_Update ( Tcl_Interp* interp, int count, char* module_list[] )</tt><br>
<table>
<tr><td>Prototyped in:
<td colspan=2><a href="modules_def.h.html#file">modules_def.h</a>
<tr><td>Calls:
<td><a href="ModuleCmd_Load.c.html#func-ModuleCmd_Load">ModuleCmd_Load()</a><td><a href="ModuleCmd_Load.c.html#func-ModuleCmd_Load">ModuleCmd_Load.c</a>
<tr><td>&nbsp;
<td><a href="error.c.html#func-Module_Error">Module_Error()</a><td><a href="error.c.html#func-Module_Error">error.c</a>
<tr><td>&nbsp;
<td><a href="cmdSetenv.c.html#func-moduleSetenv">moduleSetenv()</a><td><a href="cmdSetenv.c.html#func-moduleSetenv">cmdSetenv.c</a>
<tr><td>&nbsp;
<td colspan=2>Tcl_GetVar2(), Tcl_SetVar2(), fclose(), feof(), fgetc(), fopen(), getenv(), malloc(), realloc(), strchr(), strcpy(), strlen(), strncmp(), strtok()
<tr><td>Called by:
<td><a href="cmdModule.c.html#func-cmdModule">cmdModule()</a><td><a href="cmdModule.c.html#func-cmdModule">cmdModule.c</a>
<tr><td>References Variables:
<td><a href="ModuleCmd_Update.c.html#var-module_name">module_name</a><td><a href="ModuleCmd_Update.c.html#var-module_name">ModuleCmd_Update.c</a>
</table>
</BODY>
</HTML>