mirror of
https://github.com/envmodules/modules.git
synced 2026-06-14 00:42:43 +08:00
149 lines
4.9 KiB
HTML
149 lines
4.9 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_Display.c
|
|
CPP : gcc -E -C -dD -dI
|
|
-->
|
|
|
|
<HTML>
|
|
|
|
<HEAD>
|
|
<TITLE>Cross reference for ModuleCmd_Display.c of cxref.</TITLE>
|
|
</HEAD>
|
|
|
|
<BODY>
|
|
|
|
<h1><a name="file">File ModuleCmd_Display.c</a></h1>
|
|
<pre>
|
|
** ** Module Header ******************************************************* **
|
|
** **
|
|
** Modules Revision 3.0 **
|
|
** Providing a flexible user environment **
|
|
** **
|
|
** File: ModuleCmd_Display.c **
|
|
** First Edition: 91/10/23 **
|
|
** **
|
|
** Authors: John Furlan, jlf@behere.com **
|
|
** Jens Hamisch, jens@Strawberry.COM **
|
|
** **
|
|
** Description: Displays what changes a modulefile will make to the **
|
|
** environment including any conflics or prerequisits. **
|
|
** **
|
|
** Exports: ModuleCmd_Display **
|
|
** **
|
|
** Notes: **
|
|
** **
|
|
** ************************************************************************ **
|
|
</pre>
|
|
|
|
<table>
|
|
<tr><td>References Variables:
|
|
<td><a href="ModuleCmd_Display.c.html#var-Id">Id</a><td><a href="ModuleCmd_Display.c.html#var-Id">ModuleCmd_Display.c</a>
|
|
</table>
|
|
|
|
<hr>
|
|
<h2>Included Files</h2>
|
|
|
|
<ul>
|
|
<li><tt><a href="modules_def.h.html#file">#include "modules_def.h"</a></tt>
|
|
<ul>
|
|
<li><tt>#include <stdio.h></tt>
|
|
<li><tt>#include <tcl.h></tt>
|
|
<li><tt><a href="config.h.html#file">#include "config.h"</a></tt>
|
|
<li><tt>#include <stdlib.h></tt>
|
|
<li><tt>#include <string.h></tt>
|
|
<li><tt>#include <unistd.h></tt>
|
|
<li><tt>#include <sys/types.h></tt>
|
|
<li><tt>#include <ctype.h></tt>
|
|
<li><tt>#include <sys/stat.h></tt>
|
|
<li><tt>#include <sys/termios.h></tt>
|
|
<li><tt>#include <fcntl.h></tt>
|
|
<li><tt>#include <sys/ioctl.h></tt>
|
|
<li><tt>#include <dirent.h></tt>
|
|
<li><tt>#include <errno.h></tt>
|
|
</ul>
|
|
</ul>
|
|
|
|
<hr>
|
|
<h2><a name="var-local_line">Global Variable local_line</a></h2>
|
|
<tt>char local_line[]</tt><br>
|
|
<table>
|
|
<tr><td>Visible in:
|
|
<td> <td><a href="ModuleCmd_Avail.c.html#file">ModuleCmd_Avail.c</a>
|
|
<tr><td>
|
|
<td> <td><a href="ModuleCmd_Clear.c.html#file">ModuleCmd_Clear.c</a>
|
|
<tr><td>
|
|
<td> <td><a href="ModuleCmd_Display.c.html#file">ModuleCmd_Display.c</a>
|
|
<tr><td>Used in:
|
|
<td><a href="ModuleCmd_Display.c.html#func-ModuleCmd_Display">ModuleCmd_Display()</a><td><a href="ModuleCmd_Display.c.html#func-ModuleCmd_Display">ModuleCmd_Display.c</a>
|
|
|
|
</table>
|
|
|
|
<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> <td><a href="ModuleCmd_Display.c.html#file">ModuleCmd_Display.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_Display">ModuleCmd_Display()</a>
|
|
|
|
</table>
|
|
|
|
<hr>
|
|
<h2><a name="func-ModuleCmd_Display">Global Function ModuleCmd_Display()</a></h2>
|
|
<pre>
|
|
** ** Function-Header ***************************************************** **
|
|
** **
|
|
** Function: ModuleCmd_Display **
|
|
** **
|
|
** Description: Execution of the module-command 'display' **
|
|
** Display every change a module 'load' would apply to **
|
|
** the environment **
|
|
** **
|
|
** First Edition: 91/10/23 **
|
|
** **
|
|
** Parameters: Tcl_Interp *interp Attached Tcl Interp. **
|
|
** char *argv[] Argument list **
|
|
** **
|
|
** Result: int TCL_ERROR Failure **
|
|
** TCL_OK Successfull operation **
|
|
** **
|
|
** Attached Globals: specified_module The module name from the **
|
|
** command line. **
|
|
** **
|
|
** ************************************************************************ **
|
|
</pre>
|
|
|
|
<tt>int ModuleCmd_Display ( Tcl_Interp* interp, int argc, char* argv[] )</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 colspan=2>CallModuleProcedure(), InitializeModuleCommands(), Locate_ModuleFile(), Module_Error(), Tcl_CreateInterp(), Tcl_DStringFree(), Tcl_DStringInit(), Tcl_DeleteInterp(), fprintf()
|
|
<tr><td>References Variables:
|
|
<td><a href="ModuleCmd_Display.c.html#var-local_line">local_line</a><td><a href="ModuleCmd_Display.c.html#var-local_line">ModuleCmd_Display.c</a>
|
|
<tr><td>
|
|
<td><a href="ModuleCmd_Display.c.html#var-module_name">module_name</a><td><a href="ModuleCmd_Display.c.html#var-module_name">ModuleCmd_Display.c</a>
|
|
<tr><td>
|
|
<td colspan=2>current_module, flags, specified_module
|
|
|
|
</table>
|
|
|
|
</BODY>
|
|
</HTML>
|