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