SCORE_RUNTIME_RESOURCE(3)
SCORED LIBRARY (C)
SCORE_RUNTIME_RESOURCE(3)
NAME
score_runtime_resource - check resource request for SCore-D login

SYNOPSIS
int score_runtime_resource( void );

DESCRIPTION
score_runtime_resource() is a callback function that must be implemented by a user program or runtime library. It is used to check if a user-specified resource request is valid or not. See the SCore-D Runtime Development page for examples.

The user-specified resource request can be obtained by the score_get_resource_request() function.

score_runtime_resource() is called from score_initialize() when scrun(1) invokes a user program locally.

RETURN VALUES
score_runtime_resource() should return 0 if the resource request is valid, or non-zero if not valid.

SEE ALSO
scrun(1), score_initialize(3), score_get_resource_request(3), SCore-D Runtime Development

$Id: score_runtime_resource.html,v 1.2 2002/02/27 12:39:35 liu Exp $