◆ Alloc()

ceth_device * CCEthernet::Alloc ( int  number)

Device struct allocation. This function will allocate space for a given number of ceth_devices. You MUST Alloc() space for at least as many devices as you desire to find.

Parameters
[in]numberThe number of devices you wish to allocate space for.
Returns
*ceth_device Pointer to the first allocated device.
Return values
-ENOMEMLow memory.

References CEthernet_Alloc().

 
 
Generated on Tue Sep 19 2017.