summaryrefslogtreecommitdiff
path: root/games/fortune/strfile/strfile.8
diff options
context:
space:
mode:
Diffstat (limited to 'games/fortune/strfile/strfile.8')
-rw-r--r--games/fortune/strfile/strfile.826
1 files changed, 13 insertions, 13 deletions
diff --git a/games/fortune/strfile/strfile.8 b/games/fortune/strfile/strfile.8
index 990bb7650fc..b87e79551bb 100644
--- a/games/fortune/strfile/strfile.8
+++ b/games/fortune/strfile/strfile.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strfile.8,v 1.17 2022/08/04 06:20:24 jsg Exp $
+.\" $OpenBSD: strfile.8,v 1.18 2024/08/31 13:41:13 jmc Exp $
.\" $NetBSD: strfile.8,v 1.3 1995/03/23 08:28:45 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)strfile.8 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: August 4 2022 $
+.Dd $Mdocdate: August 31 2024 $
.Dt STRFILE 8
.Os
.Sh NAME
@@ -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.