git.samba.org
/
tridge
/
junkcode.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added -C option to enable running on more than 1 node
[tridge/junkcode.git]
/
align.c
1
struct foo {
2
char b[1];
3
double x;
4
};
5
6
7
main()
8
{
9
char buf[1024];
10
struct foo *f;
11
f = (struct foo *)&buf[3];
12
printf("%d\n", (&f.x) - (&f.b));
13
}