SCASH_INIT(3)
SCASH Programmer's Manual
SCASH_INIT(3)
NAME
scash_init - initialize SCASH for MPC++

SYNOPSIS
int scash_init(int argc, char** argv, int dsm_area_size)

DESCRIPTION
scash_init() initializes the SCASH system for mpc++ runtime. You must call this before using the SCASH API. The total shared memory size should be specified as dsm_area_size. If the specified shared memory size is not a multiple of the page size, it will be rounded up to a multiple of the page size.

RETURN VALUES
scash_init returns 0 on success.

CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2003 PC Cluster Consortium.