SCASH_INITIALIZE(3)
SCASH Programmer's Manual
SCASH_INITIALIZE(3)
NAME
scash_initialize - initialize SCASH for C

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

DESCRIPTION
scash_initialize() initializes the SCASH system for C runtime. All SCASH related functions must be called after calling scash_initialize(). The arguments argc and argv must be the same as those passed to the main() function. 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_initialize 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.