
© 2007, QNX Software Systems GmbH & Co. KG. usbd
_
free()
Free the memory area allocated by usbd
_
alloc()
Synopsis:
#include <sys/usbdi.h>
void usbd_free( void* ptr );
Arguments:
ptr A pointer to the memory area to be freed.
Library:
libusbdi
Description:
The usbd
_
free() function frees the memory allocated by usbd
_
alloc(). The function
deallocates the memory area specified by ptr, which was previously returned by a call
to usbd
_
mphys().
It’s safe to call usbd
_
free() with a NULL ptr.
Returns:
EOK Success.
Classification:
QNX Neutrino, QNX 4
Safety
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes
See also:
usbd
_
alloc(), usbd
_
alloc
_
urb(), usbd
_
free
_
urb(), usbd
_
mphys()
September 10, 2007 Chapter 4 • USB Library Reference 45
Comentários a estes Manuais