From e482f342c3fac81f07fba4bbbbdb57c2c03a1110 Mon Sep 17 00:00:00 2001 From: Gregoire Avot Date: Mon, 20 Nov 2000 12:44:29 +0000 Subject: [PATCH] =?UTF-8?q?Quelques=20mises=20=C3=A0=20jour.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alliance/share/man/man3/mbkenv.3 | 14 +++++- alliance/share/man/man3/mbksetautoackchld.3 | 48 +++++++++++++++++++ alliance/share/man/man3/mbkwaitpid.3 | 53 +++++++++++++++++++++ 3 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 alliance/share/man/man3/mbksetautoackchld.3 create mode 100644 alliance/share/man/man3/mbkwaitpid.3 diff --git a/alliance/share/man/man3/mbkenv.3 b/alliance/share/man/man3/mbkenv.3 index c54f9636..2b28694a 100644 --- a/alliance/share/man/man3/mbkenv.3 +++ b/alliance/share/man/man3/mbkenv.3 @@ -1,4 +1,4 @@ -.\" $Id: mbkenv.3,v 1.1 1999/05/31 17:30:23 alliance Exp $ +.\" $Id: mbkenv.3,v 1.2 2000/11/20 12:44:28 gregoire Exp $ .\" @(#)mbkenv.2 2.11 91/08/22 ; Labo masi cao-vlsi; Author : Frederic Petrot .if t \{\ .so man1/alc_contents.mac @@ -104,6 +104,18 @@ internally \fBlong SCALE_X\fP. Defines a scale factor for all coordinates, in order to be able to use files that works with half lambda rules for example. Parsers, drivers and genlib's macros use it extensivly. Its value is ten by default. +.TP +\fbMBK_IN_FILTER\fp +internaly \fbIN_FILTER\fb. Filter string for reading compressed Alliance files. +It has no value by default, means no filter is used. +.TP +\fbMBK_OUT_FILTER\fp +internaly \fbOUT_FILTER\fb. Filter string for writing compressed Alliance files. +It has no value by default, means no filter is used. +.TP +\fbMBK_FILTER_SFX\fp +internaly \fbFILTER_SFX\fb. Extention of compressed files. +It has no value by default, means no filter is used. .SH EXAMPLE .ta 3n 6n 9n 12n 15n 18n 21n .nf diff --git a/alliance/share/man/man3/mbksetautoackchld.3 b/alliance/share/man/man3/mbksetautoackchld.3 new file mode 100644 index 00000000..33efa2fe --- /dev/null +++ b/alliance/share/man/man3/mbksetautoackchld.3 @@ -0,0 +1,48 @@ +.\" $Id: mbksetautoackchld.3,v 1.1 2000/11/20 12:44:28 gregoire Exp $ +.\" @(#)mbkalloc.2 2.11 91/08/22 ; Labo masi cao-vlsi; Author : Frederic Petrot +.if t \{\ +.so man1/alc_contents.mac +.XS \n% +.ti 0.2i +mbkalloc +.XE +.XS4 \n% +.ti 0.2i +mbkalloc +.XE4 \} +.TH MBKSETAUTOACKCHLD 3 "November 20, 2000" "ASIM/LIP6" "MBK UTILITY FUNCTIONS" +.SH NAME +mbksetautoackchld \- Tells Alliance to automatically handle terminaison of child process. +.so man1/alc_origin.1 +.SH SYNOPSYS +.nf +.if n \{\ +.ft B \} +.if t \{\ +.ft CR \} +#include "mut315.h" +void mbksetautoackchld( pid ) +int pid; +.ft R +.fi +.SH PARAMETER +.TP 20 +\fIpid\fP +Process pid to automatically handle. +.SH DESCRIPTION +\fBmbksetautoackchld\fP provide a centralised way to catch terminated child +process. Because some Alliance library can create a child process, and user +application can do so, there must be a centralized way to get the exit status +of process. If the programmer don't want to know the state of a child process, +or if he don't want to know what is the terminaison code of such process, he +must tells it to Alliance with this call. The programmer should never modify +the handler of SIGCHLD. +.SH RETURN VALUE +\fBmbksetautoackchld\fP don't return value. +.SH SEE ALSO +.BR mbk (1), +.BR mbkwaitpid (3). + + +.so man1/alc_bug_report.1 + diff --git a/alliance/share/man/man3/mbkwaitpid.3 b/alliance/share/man/man3/mbkwaitpid.3 new file mode 100644 index 00000000..797f6bd0 --- /dev/null +++ b/alliance/share/man/man3/mbkwaitpid.3 @@ -0,0 +1,53 @@ +.\" $Id: mbkwaitpid.3,v 1.1 2000/11/20 12:44:29 gregoire Exp $ +.\" @(#)mbkalloc.2 2.11 91/08/22 ; Labo masi cao-vlsi; Author : Frederic Petrot +.if t \{\ +.so man1/alc_contents.mac +.XS \n% +.ti 0.2i +mbkalloc +.XE +.XS4 \n% +.ti 0.2i +mbkalloc +.XE4 \} +.TH MBKWAITPID 3 "November 20, 2000" "ASIM/LIP6" "MBK UTILITY FUNCTIONS" +.SH NAME +mbkwaitpid \- wait for the end of a particular child process. +.so man1/alc_origin.1 +.SH SYNOPSYS +.nf +.if n \{\ +.ft B \} +.if t \{\ +.ft CR \} +#include "mut315.h" +int mbkwaitpid( pid, mode, status ) +int pid; +int mode; +int \(**status; +.ft R +.fi +.SH PARAMETER +.TP 20 +\fIpid\fP +Process number to wait. +.TP +\fImode\fP +If mode is set to 1, this function return only when the child process is +terminated. Otherwise, function return immediatly. +.TP +\fIstatus\fP +If not NULL, the exit status of terminated child process. +.SH DESCRIPTION +\fBmbkwaitpid\fP provides a centralized way to catch terminated child process. +Because some Alliance library can create a child process, and user application +can do so, there must be a centralized way to get the exit status of process. +The programmer should never modify the handler for SIGCHLD. +.SH RETURN VALUE +\fBmbkwaitpid\fP return 1 if child process is terminated, and 0 if isn't (case +mode != 1 ). +.SH SEE ALSO +.BR mbk (1), +.BR mbksetautoackchld(). +.so man1/alc_bug_report.1 +