L4Re/departure

libext2fs/lib/libet/error_table.h

617:2733e5770ee9
9 months ago Paul Boddie Made the run command wait for completion, introducing the spawn command to run programs in the background. Introduced conveniences for waiting for the last job to be initiated and for piping from the last job, also subscribing to signals from pipe-supplying jobs so that they may be transparently removed from the job list upon completion. Augmented the job listing with the "+" notation familiar from Unix. Prevented new jobs from being started when no job slots are available.
     1 /*     2  * Copyright 1988 by the Student Information Processing Board of the     3  * Massachusetts Institute of Technology.     4  *     5  * Permission to use, copy, modify, and distribute this software and     6  * its documentation for any purpose is hereby granted, provided that     7  * the names of M.I.T. and the M.I.T. S.I.P.B. not be used in     8  * advertising or publicity pertaining to distribution of the software     9  * without specific, written prior permission.  M.I.T. and the    10  * M.I.T. S.I.P.B. make no representations about the suitability of    11  * this software for any purpose.  It is provided "as is" without    12  * express or implied warranty.    13  */    14     15 #ifndef _ET_H    16     17 struct et_list {    18     struct et_list *next;    19     const struct error_table *table;    20 };    21 extern struct et_list *_et_list, *_et_dynamic_list;    22     23 #define	ERRCODE_RANGE	8	/* # of bits to shift table number */    24 #define	BITS_PER_CHAR	6	/* # bits to shift per character in name */    25     26 extern const char *error_table_name(errcode_t num);    27     28 #define _ET_H    29 #endif