SCORE_GET_OPT(3)
SCORED LIBRARY (C)
SCORE_GET_OPT(3)
名前
score_get_opt - SCore のオプションを取得

形式
#include <score_options.h>

char *score_get_opt(char *keyword)

機能説明
score_get_opt() はユーザに指定された scrun(1) コマンド行の 引数から SCore のオプションを取得しようと試みます。

戻り値
score_get_opt() は引数 keyword の値に関連付けられた 文字列を返します。 keyword が見つからない場合は、score_get_opt()NULL を返します。 オプションは指定されているが、値が関連付けられていない場合は null 文字を返します。

注意
SCore のオプションのテーブルは score_initialize() で 初期化されます。 score_initialize() を呼ぶ前に score_get_opt() を呼んだ場合は予期できない結果を返します。

関連項目
scrun(1), score_initialize(3)

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