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


Manual Reference Pages  -  FREERDSREC (3)

[Include document man1/alc_contents.mac]

   freerdsrec    freerdsrec

NAME

freerdsrec - free memory associated to a rectangle

[Include document man1/alc_origin.1]

CONTENTS

Synopsys
Parameter
Description
Return Value
Errors
Example
See Also

SYNOPSYS






 #include "rdsnnn.h"
  void freerdsrec( Rectangle, Size )
    rdsrec_list  *Rectangle;
    unsigned int  Size;


PARAMETER

Rectangle Pointer of the rectangle structure to free.
Size Size of the structure added (if it exists) to rdsrec_list structure.

DESCRIPTION

This function deletes the memory associated to the rectangle. Memory used is both memory of rdsrec_list structure and memory of the structure added by the user. If the user structure doesn’t exist, the parameter 'Size' must be to 0L. Memory place used by the Pointers of the rdsrec_list structure (and the added structure) is not deleted so the user has to free these pointers before calling the freerdsrec() function.

RETURN VALUE

nothing

ERRORS

none

EXAMPLE






           #include "mutnnn.h"
           #include "rdsnnn.h"
           #include "rtlnnn.h"
       typedef struct UserStruct
        {
          char *STRING;
          void *USER1;
        } UserStruct;
       main()
        {
          rdsrec_list *Rectangle;
               mbkenv();
               rdsenv();
               loadrdsparam();
          Rectangle = allocrdsrec ( sizeof ( UserStruct ) );
          ...
          /* */ freerdsrec ( Rectangle, sizeof ( UserStruct ) );           
        }


SEE ALSO

librds, freerdsrec, rdsfree

[Include document man1/alc_bug_report.1]

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


ASIM/LIP6 FREERDSREC (3) October 1, 1997

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