[][src]Function pspsdk_sys::sdk::sceNetInit

pub unsafe extern "C" fn sceNetInit(
    poolsize: c_int,
    calloutprio: c_int,
    calloutstack: c_int,
    netintrprio: c_int,
    netintrstack: c_int
) -> c_int

Initialise the networking library

@param poolsize - Memory pool size (appears to be for the whole of the networking library). @param calloutprio - Priority of the SceNetCallout thread. @param calloutstack - Stack size of the SceNetCallout thread (defaults to 4096 on non 1.5 firmware regardless of what value is passed). @param netintrprio - Priority of the SceNetNetintr thread. @param netintrstack - Stack size of the SceNetNetintr thread (defaults to 4096 on non 1.5 firmware regardless of what value is passed).

@return 0 on success, < 0 on error