Table of Contents

Name

BldDosimetryPartition - create a shared memory partition for use by the AccelNET ams software

Description

BldDosimetryPartition creates a shared memory partition and initializes the data structures for AccelNET table management.

It adds an additional amount of space to the partition and returns a pointer to it. The additional space is located above the space allocated for tables.

This function is part of tblmngr.

Syntax

HEADER_TBL *BldDosimetryPartition(
   MASTER_SIZE *SZpnt,

   int *Mid,

   int *Msize,

   unsigned int *Maddr,

   char **Upnt,

   int Usize,

   int quiet_flag

   );

Arguments

SZpnt

Pointer to the MASTER_SIZE record which contains the table size information.

*Mid

Pointer to integer to hold shared memory id.

*Msize

Pointer to integer to hold shared memory size.

*Maddr

Pointer to unsigned integer to hold shared memory address.

**Upnt

Pointer to a pointer to the additional requested space.

Usize

The size of the additional space.

quiet_flag

If this value is non zero then suppress error messages from the function.

Returns

A pointer to the HEADER_TBL if successful. NULL is returned on most other failures.

Environment Variables

Dose_tbl_addr

If present this value is used for the shared memory attachment address. If not, the value of segaddrDOSE in memdef.h is used.

Dose_tbl_key

If present this value is used for the and the shared memory key. If not, the value of memkeyDOSE in memdef.h is used.

See Also

tblmngr(3tbl)

Manual page revision

$Id: BldDosimetryP.3,v 1.4 2005/06/17 14:42:24 kitchen Exp $


Table of Contents