![kleink](/assets/img/avatar_default.png)
be NULL (part of the interface definition!) unless errcode is REG_ATOI, which is a non-portable extension. Also, remove assertions from the local regatoi() function, as they are either redundant or will never fail due to the buffer allocation for that argument in regerror().