Generic statements applicable for NvSciBuf interfaces.
NvSciBuf blanket statements
Input parameters
Output parameters
- In general, output parameters are passed by reference through pointers. Also, since a null pointer cannot be used to convey an output parameter, API functions typically return an error code if a null pointer is supplied for a required output parameter unless otherwise stated explicitly. Output parameter is valid only if error code returned by an API is NvSciError_Success unless otherwise stated explicitly.
Concurrency
- Every individual function can be called concurrently with itself without any side-effects unless otherwise stated explicitly in the interface specifications.
- The conditions for combinations of functions that cannot be called concurrently or calling them concurrently leads to side effects are explicitly stated in the interface specifications.