Table of Contents

Name

OpnDosimetryPartition - create AccelNET ams dosimetry partition

Description

OpnDosimetryPartiton opens a previously created shared memory partition for use by the AccelNET AMS software.

This function is part of tblmngr.

Syntax

HEADER_TBL *OpnDosimetryPartition(
   int Mid,

   unsigned int Maddr,

   char **Upnt,

   int ROflag,

   int quiet_flag

   );

Arguments

Mid

The shared memory id.

Maddr

The shared memory attachment address.

**Upnt

Pointer to the additional space.

ROflag

If this value is non zero then attach the partition read only.

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 the Maddr argument is non zero it is used as the attachement address.

Otherwise if this value is present in the environment it is used for the shared memory attachment address.

Otherwise, the value of segaddrDOSE in memdef.h is used.

Notes

This function assumes the user knows the size of the region pointed to by Upnt. Probably not a bad assumption......

See Also

tblmngr(3tbl)

Manual page revision

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


Table of Contents