Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
FREERDSINS(3)		     RDS PHYSICAL FUNCTIONS		   FREERDSINS(3)

NAME
      freerdsins - frees memory associated to an instance

SYNOPSIS
      #include "rdsnnn.h"
      void freerdsins ( Instance )
	rdsins_list *Instance;

PARAMETER
      Instance		 Pointer of the instance to free

DESCRIPTION
     This  function  frees  the  memory associated to the instance. Memory place
     used by the Pointers of the rdsins_list structure is not free so  the  user
     has to free these pointers before calling the freerdsins() function.

RETURN VALUE
     nothing

ERRORS
     none

EXAMPLE
	       #include "mutnnn.h"
	       #include "rdsnnn.h"
	       #include "rtlnnn.h"
	    main()
	     {
	       rdsins_list *Instance;
		    mbkenv();
		    rdsenv();
		    loadrdsparam();
	       Instance = allocrdsins ();
	       Instance->NAME = rdsalloc(strlen("and1")+1,RDS_ALLOC_BLOCK);
	       strcpy(Instance->NAME,"and1");
	       ...
	       rdsfree	  (Instance->NAME,RDS_ALLOC_BLOCK);
	       /* */ freerdsins ( Instance,RDS_ALLOC_BLOCK);
	     }

SEE ALSO
     librds, allocrdsins

ASIM/LIP6			 October 1, 1997		   FREERDSINS(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=freerdsins&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help