[][src]Function nrfxlib_sys::bsd_init

pub unsafe extern "C" fn bsd_init() -> c_int

@brief Method to initialize BSD library.

@details This method shall be called before using any of the other methods of the application. In case the initialization fails, the call results in a hard fault.

     This method shall be called once. Calling this method again with a shutdown results
     in undefined behavior.

     Initializing the library results in reserving resources defined in bsd_platform.h on
     the system. The application shall not use any of the resources identified in
     bsd_platform.h.

@return Zero on success or an error code otherwise.