Download raw body.
strfile(8): update header
hi. update strfile(8) header. i preserved the indentation in the header as it was easier to paste in. ok? jmc Index: strfile.8 =================================================================== RCS file: /cvs/src/games/fortune/strfile/strfile.8,v diff -u -p -r1.17 strfile.8 --- strfile.8 4 Aug 2022 06:20:24 -0000 1.17 +++ strfile.8 31 Aug 2024 07:40:33 -0000 @@ -100,17 +100,17 @@ field to be set. .Pp The format of the header is: .Bd -literal -offset indent -#define VERSION 2 -u_int32_t str_version; /* version number */ -u_int32_t str_numstr; /* # of strings in the file */ -u_int32_t str_longlen; /* length of longest string */ -u_int32_t str_shortlen; /* length of shortest string */ -#define STR_RANDOM 0x1 /* randomized pointers */ -#define STR_ORDERED 0x2 /* ordered pointers */ -#define STR_ROTATED 0x4 /* rot-13'd text */ -u_int32_t str_flags; /* bit field for flags */ -u_int8_t str_delim; /* delimiting character */ -u_int8_t str_pad[3]; /* padding */ +#define VERSION 2 + u_int32_t str_version; /* version number */ + u_int32_t str_numstr; /* # of strings in the file */ + u_int32_t str_longlen; /* length of longest string */ + u_int32_t str_shortlen; /* length of shortest string */ +#define STR_RANDOM 0x1 /* randomized pointers */ +#define STR_ORDERED 0x2 /* ordered pointers */ +#define STR_ROTATED 0x4 /* rot-13'd text */ + u_int32_t str_flags; /* bit field for flags */ + U_int8_t stuff[4]; /* long aligned space */ +#define str_delim stuff[0] /* delimiting character */ .Ed .Pp All fields are written in network byte order.
strfile(8): update header