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

  
 
  

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

NAME
     freenum - free a num_list

SYNOPSIS
     #include "mut.h"
     void freenum(pt)
     num_list *pt;

PARAMETER
     pt 		 Pointer to the num list to be freed

DESCRIPTION
     freenum  frees the num_list pointed to by pt.  All the elements of the list
     are put back in the list of free blocks.

EXAMPLE
     #include "mut.h"
     void free_from(c, i) /* erase list from ith element */
     num_list *c;
     int i;
     {
     num_list *t;
	while (i--)
	   c = c->NEXT;
	t = c->NEXT, c->NEXT = NULL;
	freenum(t);
     }

SEE ALSO
     mbk(1), num(3), addnum(3).

ASIM/LIP6			 October 1, 1997		      FREENUM(3)

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

home | help