Hacker News new | ask | show | jobs
by oguz-ismail 520 days ago
> you should be able to do it in far less than 12 lines

In C++, maybe. In C, not necessarily. If you're not willing to reinvent the wheel why'd you choose C anyway?