179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
...
197
198
199
200
201
202
203
204
|
”)dnl
// exit status integer types - pls use kbad in <k/magic.h> instead
ifelse(target_posix,“yes”,“
/* by convention, posix return values are 8-bit,
* but note that many modern UNIXes do technically
* support higher-bit values. for this reason,
* longstat is defined differently under posix. */
typedef u8 stat;
typedef u32 stat_long;
”,“dnl
ifelse(atom_target_os,“win”,“
typedef u32 stat;
”,“dnl
ifelse(atom_target_os,“vms”,“
................................................................................
/* we don't know a specific exit status type
* for your arch so we're going with a sane
* default. if this is wrong, help us fix it! */
”)”)dnl
typedef stat stat_long;
”)dnl
#endif
|
|
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
...
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
|
”)dnl
// exit status integer types - pls use kbad in <k/magic.h> instead
ifelse(target_posix,“yes”,“
/* by convention, posix return values are 8-bit,
* but note that many modern UNIXes do technically
* support higher-bit values. for this reason,
* stat_long is defined differently under posix. */
typedef u8 stat;
typedef u32 stat_long;
”,“dnl
ifelse(atom_target_os,“win”,“
typedef u32 stat;
”,“dnl
ifelse(atom_target_os,“vms”,“
................................................................................
/* we don't know a specific exit status type
* for your arch so we're going with a sane
* default. if this is wrong, help us fix it! */
”)”)dnl
typedef stat stat_long;
”)dnl
/* unicode types */
typedef u32 codepoint;
/* a codepoint is a UTF-32 character */
typedef u8 rune [5];
/* a rune is a valid UTF-8 character terminated with a nul. */
#endif
|