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

FreeBSD Manual Pages

  
 
  

home | help
MBKFREE(3)		     MBK UTILITY FUNCTIONS		    MBKFREE(3)

NAME
       mbkfree - mbk memory allocator

SYNOPSYS
       #include	"mut.h"
       void mbkfree(p)
       void *p;

PARAMETER
       p		   Pointer to be given back to the system

DESCRIPTION
       mbkfree	frees a	pointer.  It is	now a day just an encapsulation	of the
       system free function, but may evolve to a special allocator in the  fu-
       ture. Its use is	strongly encouraged.

EXAMPLE
       #include	"mut.h"
       #include	"mlo.h"
       void free_con(pt)
       lofig_list *pt;
       {
       locon_list *c = pt->LOCON, *next;
	  while	(c) {
	     next = c->NEXT;
	     mbkfree((void *)c);
	     c = next;
	  }
	  pt->LOCON = NULL;
       }

SEE ALSO
       mbk(1), mbkalloc(3).

ASIM/LIP6			October	1, 1997			    MBKFREE(3)

NAME | SYNOPSYS | PARAMETER | DESCRIPTION | EXAMPLE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=mbkfree&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help