diff options
Diffstat (limited to 'man3/offsetof.3')
-rw-r--r-- | man3/offsetof.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/offsetof.3 b/man3/offsetof.3 index b234e5ce1..65e0ee4c2 100644 --- a/man3/offsetof.3 +++ b/man3/offsetof.3 @@ -86,7 +86,7 @@ sizeof(struct s)=16 #include <stddef.h> #include <stdio.h> #include <stdlib.h> - +\& int main(void) { @@ -96,14 +96,14 @@ main(void) double d; char a[]; }; - +\& /* Output is compiler dependent */ - +\& printf("offsets: i=%zu; c=%zu; d=%zu a=%zu\en", offsetof(struct s, i), offsetof(struct s, c), offsetof(struct s, d), offsetof(struct s, a)); printf("sizeof(struct s)=%zu\en", sizeof(struct s)); - +\& exit(EXIT_SUCCESS); } .EE |