Hacker News new | ask | show | jobs
by tehwalrus 2997 days ago
Yeah, just return the struct by value.

By the way, if you do C programming and haven't, read 21st Century C:

http://shop.oreilly.com/product/0636920033677.do