News for hackers. Stuff that matters.
Re:Humans should think of sizeof() as a function, says Linus... by userbinator on Saturday May 30, 2015 @09:11AM (#9630057)
That just makes it more verbose.

This, on the other hand, always allocates one object of foo's pointed-to-size, whatever its type:

    foo = malloc(sizeof(*foo));

There are no comments on this comment yet.