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