NWDSFreeBuf(3nw)


NWDSFreeBuf -- frees a buffer allocated by NWDSAllocBuf

Synopsis

   #include <nwnet.h> 
   or 
   #include <nwdsbuft.h> 
   

NWDSCCODE N_API NWDSFreeBuf (pbuf_T buf);

Description

The parameters are as follows:

buf
(IN) Points to the buffer to be freed.

Return values

0x0000
SUCCESSFUL

Notices

All buffers allocated by calling NWDSAllocBuf should be freed once they are no longer needed by the client. Doing so frees up memory for the client.

NWDSFreeBuf always returns SUCCESSFUL.

Services

Directory

NCP calls

None

References

NWDSAllocBuf(3nw), NWDSInitBuf(3nw)


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.