This file is indexed.

/usr/include/diet/skalibs/strerr2.h is in skalibs-dev 0.47-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
/* Public domain. */

#ifndef STRERR2_H
#define STRERR2_H

#include "strerr.h"

/* requires */
extern char const *PROG ;


#define strerr_warnw1x(x1) \
strerr_warn3x(PROG, ": warning: ", (x1))
#define strerr_warnw2x(x1, x2) \
strerr_warn4x(PROG, ": warning: ", (x1), (x2))
#define strerr_warnw3x(x1, x2, x3) \
strerr_warn5x(PROG, ": warning: ", (x1), (x2), (x3))
#define strerr_warnw4x(x1, x2, x3, x4) \
strerr_warn6x(PROG, ": warning: ", (x1), (x2), (x3), (x4))
#define strerr_warnw5x(x1, x2, x3, x4, x5) \
strerr_warn7x(PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5))
#define strerr_warnw6x(x1, x2, x3, x4, x5, x6) \
strerr_warn8x(PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5), (x6))
#define strerr_warnw7x(x1, x2, x3, x4, x5, x6, x7) \
strerr_warn9x(PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5), (x6), (x7))
#define strerr_warnw8x(x1, x2, x3, x4, x5, x6, x7, x8) \
strerr_warn10x(PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5), (x6), (x7), (x8))

#define strerr_warnw1sys(x1) \
strerr_warn4sys(PROG, ": warning: ", (x1), ": ")
#define strerr_warnw2sys(x1, x2) \
strerr_warn5sys(PROG, ": warning: ", (x1), (x2), ": ")
#define strerr_warnw3sys(x1, x2, x3) \
strerr_warn6sys(PROG, ": warning: ", (x1), (x2), (x3), ": ")
#define strerr_warnw4sys(x1, x2, x3, x4) \
strerr_warn7sys(PROG, ": warning: ", (x1), (x2), (x3), (x4), ": ")
#define strerr_warnw5sys(x1, x2, x3, x4, x5) \
strerr_warn8sys(PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5), ": ")
#define strerr_warnw6sys(x1, x2, x3, x4, x5, x6) \
strerr_warn9sys(PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5), (x6), ": ")
#define strerr_warnw7sys(x1, x2, x3, x4, x5, x6, x7) \
strerr_warn10sys(PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5), (x6), (x7), ": ")

#define strerr_diew1x(e, x1) \
strerr_die3x((e), PROG, ": warning: ", (x1))
#define strerr_diew2x(e, x1, x2) \
strerr_die4x((e), PROG, ": warning: ", (x1), (x2))
#define strerr_diew3x(e, x1, x2, x3) \
strerr_die5x((e), PROG, ": warning: ", (x1), (x2), (x3))
#define strerr_diew4x(e, x1, x2, x3, x4) \
strerr_die6x((e), PROG, ": warning: ", (x1), (x2), (x3), (x4))
#define strerr_diew5x(e, x1, x2, x3, x4, x5) \
strerr_die7x((e), PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5))
#define strerr_diew6x(e, x1, x2, x3, x4, x5, x6) \
strerr_die8x((e), PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5), (x6))
#define strerr_diew7x(e, x1, x2, x3, x4, x5, x6, x7) \
strerr_die9x((e), PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5), (x6), (x7))
#define strerr_diew8x(e, x1, x2, x3, x4, x5, x6, x7, x8) \
strerr_die10x((e), PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5), (x6), (x7), (x8))

#define strerr_diew1sys(e, x1) \
strerr_die4sys((e), PROG, ": warning: ", (x1), ": ")
#define strerr_diew2sys(e, x1, x2) \
strerr_die5sys((e), PROG, ": warning: ", (x1), (x2), ": ")
#define strerr_diew3sys(e, x1, x2, x3) \
strerr_die6sys((e), PROG, ": warning: ", (x1), (x2), (x3), ": ")
#define strerr_diew4sys(e, x1, x2, x3, x4) \
strerr_die7sys((e), PROG, ": warning: ", (x1), (x2), (x3), (x4), ": ")
#define strerr_diew5sys(e, x1, x2, x3, x4, x5) \
strerr_die8sys((e), PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5), ": ")
#define strerr_diew6sys(e, x1, x2, x3, x4, x5, x6) \
strerr_die9sys((e), PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5), (x6), ": ")
#define strerr_diew7sys(e, x1, x2, x3, x4, x5, x6, x7) \
strerr_die10sys((e), PROG, ": warning: ", (x1), (x2), (x3), (x4), (x5), (x6), (x7), ": ")

#define strerr_dief1x(e, x1) \
strerr_die3x((e), PROG, ": fatal: ", (x1))
#define strerr_dief2x(e, x1, x2) \
strerr_die4x((e), PROG, ": fatal: ", (x1), (x2))
#define strerr_dief3x(e, x1, x2, x3) \
strerr_die5x((e), PROG, ": fatal: ", (x1), (x2), (x3))
#define strerr_dief4x(e, x1, x2, x3, x4) \
strerr_die6x((e), PROG, ": fatal: ", (x1), (x2), (x3), (x4))
#define strerr_dief5x(e, x1, x2, x3, x4, x5) \
strerr_die7x((e), PROG, ": fatal: ", (x1), (x2), (x3), (x4), (x5))
#define strerr_dief6x(e, x1, x2, x3, x4, x5, x6) \
strerr_die8x((e), PROG, ": fatal: ", (x1), (x2), (x3), (x4), (x5), (x6))
#define strerr_dief7x(e, x1, x2, x3, x4, x5, x6, x7) \
strerr_die9x((e), PROG, ": fatal: ", (x1), (x2), (x3), (x4), (x5), (x6), (x7))
#define strerr_dief8x(e, x1, x2, x3, x4, x5, x6, x7, x8) \
strerr_die10x((e), PROG, ": fatal: ", (x1), (x2), (x3), (x4), (x5), (x6), (x7), (x8))

#define strerr_dief1sys(e, x1) \
strerr_die4sys((e), PROG, ": fatal: ", (x1), ": ")
#define strerr_dief2sys(e, x1, x2) \
strerr_die5sys((e), PROG, ": fatal: ", (x1), (x2), ": ")
#define strerr_dief3sys(e, x1, x2, x3) \
strerr_die6sys((e), PROG, ": fatal: ", (x1), (x2), (x3), ": ")
#define strerr_dief4sys(e, x1, x2, x3, x4) \
strerr_die7sys((e), PROG, ": fatal: ", (x1), (x2), (x3), (x4), ": ")
#define strerr_dief5sys(e, x1, x2, x3, x4, x5) \
strerr_die8sys((e), PROG, ": fatal: ", (x1), (x2), (x3), (x4), (x5), ": ")
#define strerr_dief6sys(e, x1, x2, x3, x4, x5, x6) \
strerr_die9sys((e), PROG, ": fatal: ", (x1), (x2), (x3), (x4), (x5), (x6), ": ")
#define strerr_dief7sys(e, x1, x2, x3, x4, x5, x6, x7) \
strerr_die10sys((e), PROG, ": fatal: ", (x1), (x2), (x3), (x4), (x5), (x6), (x7), ": ")

#define strerr_diefu1x(e, x1) \
strerr_die4x((e), PROG, ": fatal: ", "unable to ", (x1))
#define strerr_diefu2x(e, x1, x2) \
strerr_die5x((e), PROG, ": fatal: ", "unable to ", (x1), (x2))
#define strerr_diefu3x(e, x1, x2, x3) \
strerr_die6x((e), PROG, ": fatal: ", "unable to ", (x1), (x2), (x3))
#define strerr_diefu4x(e, x1, x2, x3, x4) \
strerr_die7x((e), PROG, ": fatal: ", "unable to ", (x1), (x2), (x3), (x4))
#define strerr_diefu5x(e, x1, x2, x3, x4, x5) \
strerr_die8x((e), PROG, ": fatal: ", "unable to ", (x1), (x2), (x3), (x4), (x5))
#define strerr_diefu6x(e, x1, x2, x3, x4, x5, x6) \
strerr_die9x((e), PROG, ": fatal: ", "unable to ", (x1), (x2), (x3), (x4), (x5), (x6))
#define strerr_diefu7x(e, x1, x2, x3, x4, x5, x6, x7) \
strerr_die10x((e), PROG, ": fatal: ", "unable to ", (x1), (x2), (x3), (x4), (x5), (x6), (x7))

#define strerr_diefu1sys(e, x1) \
strerr_die5sys((e), PROG, ": fatal: ", "unable to ", (x1), ": ")
#define strerr_diefu2sys(e, x1, x2) \
strerr_die6sys((e), PROG, ": fatal: ", "unable to ", (x1), (x2), ": ")
#define strerr_diefu3sys(e, x1, x2, x3) \
strerr_die7sys((e), PROG, ": fatal: ", "unable to ", (x1), (x2), (x3), ": ")
#define strerr_diefu4sys(e, x1, x2, x3, x4) \
strerr_die8sys((e), PROG, ": fatal: ", "unable to ", (x1), (x2), (x3), (x4), ": ")
#define strerr_diefu5sys(e, x1, x2, x3, x4, x5) \
strerr_die9sys((e), PROG, ": fatal: ", "unable to ", (x1), (x2), (x3), (x4), (x5), ": ")
#define strerr_diefu6sys(e, x1, x2, x3, x4, x5, x6) \
strerr_die10sys((e), PROG, ": fatal: ", "unable to ", (x1), (x2), (x3), (x4), (x5), (x6), ": ")

#define strerr_warnwu1x(x1) \
strerr_warn4x(PROG, ": warning: ", "unable to ", (x1))
#define strerr_warnwu2x(x1, x2) \
strerr_warn5x(PROG, ": warning: ", "unable to ", (x1), (x2))
#define strerr_warnwu3x(x1, x2, x3) \
strerr_warn6x(PROG, ": warning: ", "unable to ", (x1), (x2), (x3))
#define strerr_warnwu4x(x1, x2, x3, x4) \
strerr_warn7x(PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4))
#define strerr_warnwu5x(x1, x2, x3, x4, x5) \
strerr_warn8x(PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4), (x5))
#define strerr_warnwu6x(x1, x2, x3, x4, x5, x6) \
strerr_warn9x(PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4), (x5), (x6))
#define strerr_warnwu7x(x1, x2, x3, x4, x5, x6, x7) \
strerr_warn10x(PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4), (x5), (x6), (x7))

#define strerr_warnwu1sys(x1) \
strerr_warn5sys(PROG, ": warning: ", "unable to ", (x1), ": ")
#define strerr_warnwu2sys(x1, x2) \
strerr_warn6sys(PROG, ": warning: ", "unable to ", (x1), (x2), ": ")
#define strerr_warnwu3sys(x1, x2, x3) \
strerr_warn7sys(PROG, ": warning: ", "unable to ", (x1), (x2), (x3), ": ")
#define strerr_warnwu4sys(x1, x2, x3, x4) \
strerr_warn8sys(PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4), ": ")
#define strerr_warnwu5sys(x1, x2, x3, x4, x5) \
strerr_warn9sys(PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4), (x5), ": ")
#define strerr_warnwu6sys(x1, x2, x3, x4, x5, x6) \
strerr_warn10sys(PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4), (x5), (x6), ": ")

#define strerr_diewu1x(e, x1) \
strerr_die4x((e), PROG, ": warning: ", "unable to ", (x1))
#define strerr_diewu2x(e, x1, x2) \
strerr_die5x((e), PROG, ": warning: ", "unable to ", (x1), (x2))
#define strerr_diewu3x(e, x1, x2, x3) \
strerr_die6x((e), PROG, ": warning: ", "unable to ", (x1), (x2), (x3))
#define strerr_diewu4x(e, x1, x2, x3, x4) \
strerr_die7x((e), PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4))
#define strerr_diewu5x(e, x1, x2, x3, x4, x5) \
strerr_die8x((e), PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4), (x5))
#define strerr_diewu6x(e, x1, x2, x3, x4, x5, x6) \
strerr_die9x((e), PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4), (x5), (x6))
#define strerr_diewu7x(e, x1, x2, x3, x4, x5, x6, x7) \
strerr_die10x((e), PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4), (x5), (x6), (x7))

#define strerr_diewu1sys(e, x1) \
strerr_die5sys((e), PROG, ": warning: ", "unable to ", (x1), ": ")
#define strerr_diewu2sys(e, x1, x2) \
strerr_die6sys((e), PROG, ": warning: ", "unable to ", (x1), (x2), ": ")
#define strerr_diewu3sys(e, x1, x2, x3) \
strerr_die7sys((e), PROG, ": warning: ", "unable to ", (x1), (x2), (x3), ": ")
#define strerr_diewu4sys(e, x1, x2, x3, x4) \
strerr_die8sys((e), PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4), ": ")
#define strerr_diewu5sys(e, x1, x2, x3, x4, x5) \
strerr_die9sys((e), PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4), (x5), ": ")
#define strerr_diewu6sys(e, x1, x2, x3, x4, x5, x6) \
strerr_die10sys((e), PROG, ": warning: ", "unable to ", (x1), (x2), (x3), (x4), (x5), (x6), ": ")

#define strerr_dieusage(e, u) \
strerr_die3x((e), PROG, ": usage: ", (u))

#define strerr_dienotset(e, x) \
strerr_dief2x((e), (x), " not set")

#define strerr_dieinvalid(e, x) \
strerr_dief2x((e), "invalid $", (x))

#define strerr_dieexec(e, x) \
strerr_diefu2sys((e), "exec ", (x))

#endif