Initialize the resources required for the Bluetooth library.
Library:libbtapi (For the qcc command, use the -l btapi option to link against this library)
This function initializes resources needed for the library to function. If you are using a version before BlackBerry 10.3.0, you must call this function before calling any other function in the library. Starting in BlackBerry 10.3.0, this function is called internally so you don't have to call it, but it's safe if you do.
0 when initialization is successful, -1 with the errno value set otherwise. An errno of ENOMEM indicates that there was insufficient memory to initialize resources. If the errno is set to any other value than what is listed, a system error has occurred.
Last modified: 2014-06-24