offsetof.3: ffix

This commit is contained in:
Michael Kerrisk 2008-10-27 22:19:47 -05:00
parent 01f1f222a5
commit 624c0456a7
1 changed files with 5 additions and 3 deletions

View File

@ -61,14 +61,16 @@ C89, C99, POSIX.1-2001.
On a Linux/i386 system, when compiled using the default
.BR gcc (1)
options, the program below produces the following output:
.in +4n
.nf
$ ./a.out
offsets: i=0; c=4; d=8 a=16
sizeof(struct s)=16
$ ./a.out
offsets: i=0; c=4; d=8 a=16
sizeof(struct s)=16
.fi
.nf
.nf
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>