I have some code I can't quite understand.
typedef double Align;
union header{
struct{
union header *ptr;
unsigned int size;
}s;
Align x;
};
typedef union header Header;
So, after creating this union it's used in a wierd way.
Header *morecore(unsigned);
This is then called like a normal function
Header *p;
p = morecore(nunits);
How exactly does this work? There is no code anywhere telling how this "function" works.