@CHIP-RTOS C Library V2.00 - TCP/IP API
Dev_Get_Buffer
Get a buffer from TCP/IP stack's pre-allocated buffer for storing
incoming data from this device int Dev_Get_Buffer(DevUserBufferHandle BufHandlePtr,
char far * far * buffer,
unsigned int length); Parameters
DevHandlePtr
- Device handle
buffer
- Output Parameter: Pointer to a variable of type
DevUserBufferHandle
where the user buffer handle is stored. (This value is for internal use.)
length
- Number of bytes buffer required
Return Value
- 0: success , *buffer points to the beginning of the allocated buffer
-1: Allocation failed, *buffer is a null pointer.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|