Return Value

The return value of a library call is a long integer which is zero if the call succeeded, or one of the status codes listed in Status Codes.