GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RDSFREE(3) RDS PHYSICAL FUNCTIONS RDSFREE(3)


rdsfree - free memory place

See the file man1/alc_origin.1.


#include "rdsnnn.h"
void rdsfree( Pointer, Size )
char ∗Pointer;
unsigned int Size;

pointer to the memory to free.
Size of the memory to free.

The rdsfree function deletes memory of size=´Size´ allocated with rdsalloc function. If the parameter Size is set to ZERO (or RDS_ALLOC_BLOCK) then the memory is deleted by BLOCK else the memory is deleted by HEAP.

Note : A memory allocated by BLOCK (resp. by HEAP) must be deleted by BLOCK (resp. by HEAP).

nothing

none


#include "rdsnnn.h" main() { rdsrec_list ∗Rectangle; rdsfig_list ∗Figure;
Figure = allocrdsfig (); Rectangle = allocrdsrec (); Rectangle->X = 20; Rectangle->Y = 20; Rectangle->DX = 48; Rectangle->DY = 8; ... /∗ ∗/ rdsfree ( Rectangle, sizeof (rdsrec_list));
/∗ deletes a figure allocated by block ∗/
/∗ ∗/ rdsfree ( Figure , RDS_ALLOC_BLOCK); }

librds, rdsalloc

See the file man1/alc_bug_report.1.

October 1, 1997 ASIM/LIP6

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.