mirror of
https://github.com/envmodules/modules.git
synced 2026-06-18 00:06:53 +08:00
217 lines
7.1 KiB
HTML
217 lines
7.1 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 cmdInfo.c
|
|
CPP : gcc -E -C -dD -dI
|
|
-->
|
|
|
|
<HTML>
|
|
|
|
<HEAD>
|
|
<TITLE>Cross reference for cmdInfo.c of cxref.</TITLE>
|
|
</HEAD>
|
|
|
|
<BODY>
|
|
|
|
<h1><a name="file">File cmdInfo.c</a></h1>
|
|
<pre>
|
|
** ** Module Header ******************************************************* **
|
|
** **
|
|
** Modules Revision 3.0 **
|
|
** Providing a flexible user environment **
|
|
** **
|
|
** File: cmdInfo.c **
|
|
** First Edition: 91/10/23 **
|
|
** **
|
|
** Authors: John Furlan, jlf@behere.com **
|
|
** Jens Hamisch, jens@Strawberry.COM **
|
|
** **
|
|
** Description: The Tcl module-info routine which provides informa- **
|
|
** tion about the state of Modules as the modulefile **
|
|
** is being parsed. **
|
|
** **
|
|
** Exports: cmdModuleInfo **
|
|
** **
|
|
** Notes: **
|
|
** **
|
|
** ************************************************************************ **
|
|
</pre>
|
|
|
|
<table>
|
|
<tr><td>References Variables:
|
|
<td><a href="cmdInfo.c.html#var-Id">Id</a><td><a href="cmdInfo.c.html#var-Id">cmdInfo.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 <stdarg.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>Preprocessor definitions</h2>
|
|
|
|
<tt>#define __VERSION__ "2.96 20000731 (Red Hat Linux 7.1 2.96-98)"</tt><br>
|
|
<p>
|
|
<tt>#define __USER_LABEL_PREFIX__</tt><br>
|
|
<p>
|
|
<tt>#define __REGISTER_PREFIX__</tt><br>
|
|
<p>
|
|
<tt>#define __HAVE_BUILTIN_SETJMP__ 1</tt><br>
|
|
<p>
|
|
<tt>#define __SIZE_TYPE__</tt><br>
|
|
<p>
|
|
<tt>#define __PTRDIFF_TYPE__ int</tt><br>
|
|
<p>
|
|
<tt>#define __WCHAR_TYPE__</tt><br>
|
|
<p>
|
|
<tt>#define __WINT_TYPE__</tt><br>
|
|
<p>
|
|
<tt>#define __GNUC__ 2</tt><br>
|
|
<p>
|
|
<tt>#define __GNUC_MINOR__ 96</tt><br>
|
|
<p>
|
|
<tt>#define __GNUC_PATCHLEVEL__ 0</tt><br>
|
|
<p>
|
|
<tt>#define __ELF__ 1</tt><br>
|
|
<p>
|
|
<tt>#define unix 1</tt><br>
|
|
<p>
|
|
<tt>#define linux 1</tt><br>
|
|
<p>
|
|
<tt>#define __ELF__ 1</tt><br>
|
|
<p>
|
|
<tt>#define __unix__ 1</tt><br>
|
|
<p>
|
|
<tt>#define __linux__ 1</tt><br>
|
|
<p>
|
|
<tt>#define __unix 1</tt><br>
|
|
<p>
|
|
<tt>#define __linux 1</tt><br>
|
|
<p>
|
|
<tt>#define __NO_INLINE__ 1</tt><br>
|
|
<p>
|
|
<tt>#define i386 1</tt><br>
|
|
<p>
|
|
<tt>#define __i386 1</tt><br>
|
|
<p>
|
|
<tt>#define __i386__ 1</tt><br>
|
|
<p>
|
|
<tt>#define __tune_i386__ 1</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> <td><a href="cmdInfo.c.html#file">cmdInfo.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-cmdModuleInfo">cmdModuleInfo()</a>
|
|
|
|
</table>
|
|
|
|
<hr>
|
|
<h2><a name="func-cmdModuleInfo">Global Function cmdModuleInfo()</a></h2>
|
|
<pre>
|
|
** ** Function-Header ***************************************************** **
|
|
** **
|
|
** Function: cmdModuleInfo **
|
|
** **
|
|
** Description: Callback function for 'module-info' **
|
|
** **
|
|
** First Edition: 91/10/23 **
|
|
** **
|
|
** Parameters: ClientData client_data **
|
|
** Tcl_Interp *interp According Tcl interp.**
|
|
** int argc Number of arguments **
|
|
** char *argv[] Argument array **
|
|
** **
|
|
** Result: int TCL_OK Successfull completion **
|
|
** TCL_ERROR Any error **
|
|
** **
|
|
** Attached Globals: g_flags These are set up accordingly **
|
|
** before this function is **
|
|
** called in order to control **
|
|
** everything. **
|
|
** specified_module The module name from the **
|
|
** command line. **
|
|
** g_current_module The module which is handled **
|
|
** by the current command **
|
|
** **
|
|
** ************************************************************************ **
|
|
</pre>
|
|
|
|
<tt>int cmdModuleInfo ( ClientData client_data, 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><a href="cmdVersion.c.html#func-AliasLookup">AliasLookup()</a><td><a href="cmdVersion.c.html#func-AliasLookup">cmdVersion.c</a>
|
|
<tr><td>
|
|
<td><a href="cmdTrace.c.html#func-CheckTracing">CheckTracing()</a><td><a href="cmdTrace.c.html#func-CheckTracing">cmdTrace.c</a>
|
|
<tr><td>
|
|
<td><a href="cmdVersion.c.html#func-ExpandVersions">ExpandVersions()</a><td><a href="cmdVersion.c.html#func-ExpandVersions">cmdVersion.c</a>
|
|
<tr><td>
|
|
<td><a href="cmdTrace.c.html#func-GetTraceSel">GetTraceSel()</a><td><a href="cmdTrace.c.html#func-GetTraceSel">cmdTrace.c</a>
|
|
<tr><td>
|
|
<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>
|
|
<td><a href="cmdVersion.c.html#func-VersionLookup">VersionLookup()</a><td><a href="cmdVersion.c.html#func-VersionLookup">cmdVersion.c</a>
|
|
<tr><td>
|
|
<td colspan=2>Tcl_SetResult(), sprintf(), strcat(), strcmp(), strcpy()
|
|
<tr><td>Used in:
|
|
<td><a href="init.c.html#func-InitializeModuleCommands">InitializeModuleCommands()</a><td><a href="init.c.html#func-InitializeModuleCommands">init.c</a>
|
|
<tr><td>References Variables:
|
|
<td><a href="main.c.html#var-g_current_module">g_current_module</a><td><a href="main.c.html#var-g_current_module">main.c</a>
|
|
<tr><td>
|
|
<td><a href="main.c.html#var-g_flags">g_flags</a><td><a href="main.c.html#var-g_flags">main.c</a>
|
|
<tr><td>
|
|
<td><a href="cmdModule.c.html#var-module_command">module_command</a><td><a href="cmdModule.c.html#var-module_command">cmdModule.c</a>
|
|
<tr><td>
|
|
<td><a href="cmdInfo.c.html#var-module_name">module_name</a><td><a href="cmdInfo.c.html#var-module_name">cmdInfo.c</a>
|
|
<tr><td>
|
|
<td><a href="main.c.html#var-shell_derelict">shell_derelict</a><td><a href="main.c.html#var-shell_derelict">main.c</a>
|
|
<tr><td>
|
|
<td><a href="main.c.html#var-shell_name">shell_name</a><td><a href="main.c.html#var-shell_name">main.c</a>
|
|
<tr><td>
|
|
<td><a href="main.c.html#var-specified_module">specified_module</a><td><a href="main.c.html#var-specified_module">main.c</a>
|
|
<tr><td>
|
|
<td><a href="main.c.html#var-sw_userlvl">sw_userlvl</a><td><a href="main.c.html#var-sw_userlvl">main.c</a>
|
|
|
|
</table>
|
|
|
|
</BODY>
|
|
</HTML>
|