The return value is not documented. If `1` means success, then that's the reverse of the usual convention in C where `0` means success, `-1` failure.