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

FreeBSD Manual Pages

  
 
  

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

NAME
	allocrdsfig - allocs memory for	a figure

SYNOPSYS
       #include	"rdsnnn.h"
       rdsfig_list *allocrdsfig()

PARAMETER
       none

DESCRIPTION
       The  allocrdsfig	 function  allocates  a	 memory	 block for rdsfig_list
       structure. Fields contained in the structure are	set to NULL for	point-
       ers or 0L for numbers.

       NOTE: Allocation	by block ( see rdsalloc() function ).

RETURN VALUE
       allocrdsfig returns a pointer to	the rdsfig_list	structure allocated.

ERRORS
       "Rds202:	rdsalloc error,	can't continue !"
	      it's impossible to allocate the memory size desired.

EXAMPLE
		#include "mutnnn.h"
		#include "rdsnnn.h"
		#include "rtlnnn.h"
	      main()
	       {
		 rdsfig_list *RdsFigure;
		      mbkenv();
		      rdsenv();
		      loadrdsparam();
		 RdsFigure = allocrdsfig ();
		 RdsFigure->NAME = namealloc ("core");
		 ...
	       }

SEE ALSO
       librds, rdsalloc, rdsfree, freerdsfig

ASIM/LIP6			October	1, 1997			ALLOCRDSFIG(3)

NAME | SYNOPSYS | PARAMETER | DESCRIPTION | RETURN VALUE | ERRORS | EXAMPLE | SEE ALSO

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

home | help