]> git.ipfire.org Git - thirdparty/glibc.git/blame - mach/mach_error.h
regex: fix storage-exhaustion error
[thirdparty/glibc.git] / mach / mach_error.h
CommitLineData
8a0746ae 1/*
28f540f4
RM
2 * Mach Operating System
3 * Copyright (c) 1991,1990,1989 Carnegie Mellon University
4 * All Rights Reserved.
8a0746ae 5 *
28f540f4
RM
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the
9 * software, derivative works or modified versions, and any portions
10 * thereof, and that both notices appear in supporting documentation.
8a0746ae
RM
11 *
12 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS
28f540f4
RM
13 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
8a0746ae 15 *
28f540f4 16 * Carnegie Mellon requests users of this software to return to
8a0746ae 17 *
28f540f4
RM
18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
8a0746ae 22 *
28f540f4
RM
23 * any improvements or extensions that they make and grant Carnegie the
24 * rights to redistribute these changes.
25 */
26/*
eff75b8d 27 * (pre-GNU) HISTORY
28f540f4
RM
28 *
29 * Revision 2.2 92/01/16 00:08:10 rpd
30 * Moved from user collection to mk collection.
8a0746ae 31 *
28f540f4
RM
32 * Revision 2.2 91/03/27 15:39:13 mrt
33 * First checkin
8a0746ae 34 *
28f540f4
RM
35 */
36/*
37 * File: mach_error.h
38 * Author: Douglas Orr, Carnegie Mellon University
39 * Date: Mar. 1988
40 *
41 * Definitions of routines in mach_error.c
42 */
43
44#ifndef _MACH_ERROR_
45#define _MACH_ERROR_ 1
46
47#include <mach/error.h>
48
49const char *mach_error_string(
50/*
51 * Returns a string appropriate to the error argument given
52 */
28f540f4 53 mach_error_t error_value
28f540f4
RM
54 );
55
56void mach_error(
57/*
58 * Prints an appropriate message on the standard error stream
59 */
28f540f4
RM
60 char *str,
61 mach_error_t error_value
28f540f4
RM
62 );
63
64const char *mach_error_type(
65/*
66 * Returns a string with the error system, subsystem and code
67*/
28f540f4 68 mach_error_t error_value
28f540f4
RM
69 );
70
8a0746ae 71#endif /* _MACH_ERROR_ */