SUCCESS, or a negative value on error, in which case the error code is found in iserrno.
the value returned is guaranteed unique for the current file.