summaryrefslogtreecommitdiff
path: root/sysutils/memdump/files/patch-error.c
blob: d004a82d4c3e2c2d327e576e5bb26d211949f039 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
--- error.c.orig	Sun Feb 20 15:52:40 2005
+++ error.c	Sun Feb 20 15:53:14 2005
@@ -1,59 +1,59 @@
 /*++
-/* NAME
-/*	error 3
-/* SUMMARY
-/*	diagnostics handlers
-/* SYNOPSIS
-/*	#include <error.h>
-/*
-/*	void	error(format, ...)
-/*	char	*format;
-/*
-/*	void	remark(format, ...)
-/*	char	*format;
-/*
-/*	void	panic(format, ...)
-/*	char	*format;
-/*
-/*	char	*progname;
-/*	int	verbose;
-/* DESCRIPTION
-/*	This module reports diagnostics. Each routine produces a one-line
-/*	record with the program name and a caller-provided informative
-/*	message. In the format string, %m is replaced by the text that
-/*	corresponds to the present \fBerrno\fR value.
-/*
-/*	error() writes a message to the standard error stream and
-/*	terminates the process with a non-zero exit status.
-/*
-/*	remark() writes a message to the standard error stream.
-/*
-/*	panic() writes a message to the standard error stream and
-/*	forces a core dump.
-/*
-/*	progname is a global variable that the application should
-/*	assign the program name. The initial value is a pointer to
-/*	the string \fB"unknown"\fR.
-/*
-/*	verbose is a global variable (initially, zero), that exists
-/*	solely for the convenience of the application. Typical usage
-/*	is like:
-/*
-/* .ti +5
-/*	if (verbose) remark(...);
-/* SEE ALSO
-/*	errno(2) error numbers
-/* HISTORY
-/*	error() and remark() appear in "Software Tools" by B.W. Kernighan
-/*	and P.J. Plaugher.
-/* LICENSE
-/*	This software is distributed under the IBM Public License.
-/* AUTHOR(S)
-/*	Wietse Venema
-/*	IBM T.J. Watson Research
-/*	P.O. Box 704
-/*	Yorktown Heights, NY 10598, USA
-/*--*/
+ * NAME
+ *	error 3
+ * SUMMARY
+ *	diagnostics handlers
+ * SYNOPSIS
+ *	#include <error.h>
+ *
+ *	void	error(format, ...)
+ *	char	*format;
+ *
+ *	void	remark(format, ...)
+ *	char	*format;
+ *
+ *	void	panic(format, ...)
+ *	char	*format;
+ *
+ *	char	*progname;
+ *	int	verbose;
+ * DESCRIPTION
+ *	This module reports diagnostics. Each routine produces a one-line
+ *	record with the program name and a caller-provided informative
+ *	message. In the format string, %m is replaced by the text that
+ *	corresponds to the present \fBerrno\fR value.
+ *
+ *	error() writes a message to the standard error stream and
+ *	terminates the process with a non-zero exit status.
+ *
+ *	remark() writes a message to the standard error stream.
+ *
+ *	panic() writes a message to the standard error stream and
+ *	forces a core dump.
+ *
+ *	progname is a global variable that the application should
+ *	assign the program name. The initial value is a pointer to
+ *	the string \fB"unknown"\fR.
+ *
+ *	verbose is a global variable (initially, zero), that exists
+ *	solely for the convenience of the application. Typical usage
+ *	is like:
+ *
+ * .ti +5
+ *	if (verbose) remark(...);
+ * SEE ALSO
+ *	errno(2) error numbers
+ * HISTORY
+ *	error() and remark() appear in "Software Tools" by B.W. Kernighan
+ *	and P.J. Plaugher.
+ * LICENSE
+ *	This software is distributed under the IBM Public License.
+ * AUTHOR(S)
+ *	Wietse Venema
+ *	IBM T.J. Watson Research
+ *	P.O. Box 704
+ *	Yorktown Heights, NY 10598, USA
+ *--*/
 
 /* System library. */