]> sourceware.org Git - glibc.git/blame - mach/mach_error.h
Update.
[glibc.git] / mach / mach_error.h
CommitLineData
28f540f4
RM
1/*
2 * Mach Operating System
3 * Copyright (c) 1991,1990,1989 Carnegie Mellon University
4 * All Rights Reserved.
5 *
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.
11 *
12 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS
13 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15 *
16 * Carnegie Mellon requests users of this software to return to
17 *
18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie the
24 * rights to redistribute these changes.
25 */
26/*
27 * HISTORY
28 * $Log$
0d8733c4
UD
29 * Revision 1.3 1997/03/16 17:42:25 drepper
30 * (mach_error_string, mach_error, mach_error_type): Always provide
31 * prototypes.
32 * (mach_error_fn_t): Comment out declaration; it appears to be entirely
33 * unused dead code.
34 *
35 * Revision 1.3 1997/03/14 15:26:31 thomas
36 * Wed Mar 5 10:40:05 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
37 *
38 * * mach/mach_error.c (mach_error_string_int): Give full prototype.
39 * * mach/errstring.c (mach_error_string_int): Likewise.
40 * * mach/error_compat.c (__mach_error_map_compat): Likewise.
41 *
42 * * mach/spin-solid.c: Include <mach/mach_traps.h>.
43 * * mach/spin-solid.c (__spin_lock_solid): Provide arg to
44 * swtch_pri.
45 *
46 * * mach/mach_init.c: Include <mach/mig_support.h>.
47 *
48 * * mach/mach_error.h (mach_error_string, mach_error,
49 * mach_error_type): Always provide prototypes.
50 *
28f540f4
RM
51 * Revision 1.2 1993/11/23 20:39:08 mib
52 * entered into RCS
53 *
54 * Revision 2.2 92/01/16 00:08:10 rpd
55 * Moved from user collection to mk collection.
56 *
57 * Revision 2.2 91/03/27 15:39:13 mrt
58 * First checkin
59 *
60 */
61/*
62 * File: mach_error.h
63 * Author: Douglas Orr, Carnegie Mellon University
64 * Date: Mar. 1988
65 *
66 * Definitions of routines in mach_error.c
67 */
68
69#ifndef _MACH_ERROR_
70#define _MACH_ERROR_ 1
71
72#include <mach/error.h>
73
74const char *mach_error_string(
75/*
76 * Returns a string appropriate to the error argument given
77 */
28f540f4 78 mach_error_t error_value
28f540f4
RM
79 );
80
81void mach_error(
82/*
83 * Prints an appropriate message on the standard error stream
84 */
28f540f4
RM
85 char *str,
86 mach_error_t error_value
28f540f4
RM
87 );
88
89const char *mach_error_type(
90/*
91 * Returns a string with the error system, subsystem and code
92*/
28f540f4 93 mach_error_t error_value
28f540f4
RM
94 );
95
96#endif _MACH_ERROR_
This page took 0.14387 seconds and 5 git commands to generate.