diff --git a/alliance/share/man/man1/MBK_TRACE_GETENV.1 b/alliance/share/man/man1/MBK_TRACE_GETENV.1 new file mode 100644 index 00000000..2e2ca013 --- /dev/null +++ b/alliance/share/man/man1/MBK_TRACE_GETENV.1 @@ -0,0 +1,30 @@ +.\" Alliance man +.\" Author: Czo +.\" $Id: MBK_TRACE_GETENV.1,v 1.1 2001/11/02 14:51:10 czo Exp $ +.TH MBK_TRACE_GETENV 1 "$Date: 2001/11/02 14:51:10 $" "ASIM/LIP6" "MBK ENVIRONMENT VARIABLES" +.SH NAME +\fBMBK_TRACE_GETENV\fP \- defines getenv() debug output + +.so man1/alc_origin.1 + +.SH SYNOPSIS +.TP +.TP +Bourne Shell : \fBMBK_TRACE_GETENV\fR=\fIyes\fR; export MBK_TRACE_GETENV +.TP +C-shell : sentenv \f4MBK_TRACE_GETENV\fR \fIyes\fR + +.SH DESCRIPTION +If \fBMBK_TRACE_GETENV\fR is set to "yes", all alliance tools will print debug info to stdout each time a getenv() syscall is done. + +.SH OUTPUT EXAMPLE +.RS +\f4--- mbk --- mbkgetenv VH_PATSFX : pat\fR + +.SH SEE ALSO +.PP +.BR mbk(1) +.BR mbkgetenv(3). + +.so man1/alc_bug_report.1 + diff --git a/alliance/share/man/man3/mbkgetenv.3 b/alliance/share/man/man3/mbkgetenv.3 new file mode 100644 index 00000000..f730dd03 --- /dev/null +++ b/alliance/share/man/man3/mbkgetenv.3 @@ -0,0 +1,30 @@ +.TH MBKGETENV 3 "$Date: 2001/11/02 14:51:10 $" "ASIM/LIP6" "MBK UTILITY FUNCTIONS" +.SH NAME +\fBmbkgetenv\fP \- get an environment variable + +.so man1/alc_origin.1 + +.SH SYNOPSIS +.nf +.B #include "MUT_H" +.sp +.BI "char *mbkgetenv(const char *" name ); +.fi +.SH DESCRIPTION +The \fBmbkgetenv()\fP function searches the environment list for a string +that matches the string pointed to by \fIname\fP. The strings are of +the form \fIname = value\fP. +.SH "RETURN VALUE" +The \fBmbkgetenv()\fP function returns a pointer to the value in the +environment, or NULL if there is no match. +If \fBMBK_TRACE_GETENV\fR is set to "yes", mbkgetenv() will print debug info to stdout before thre real getenv() syscall is done. + +.SH SEE ALSO +.PP +.BR mbk(1) +.BR MBK_TRACE_GETENV(1) +.BR getenv(3). + +.so man1/alc_bug_report.1 + +