Better not do this, if libihash will be changed, it is possible your code will not work anymore. Then you shouldn't use POSIX, the C standard, or anything else that isn't etched into a stone, since the behaviour of a function might change someday.