#ifndef	_GETOPT_H
#define	_GETOPT_H

/*
  コマンドライン変数のコピー
*/
int	setopt(int argc, char **argv);

/*
  コマンドライン解析

  スイッチキャラクタ 		- char c
  オプションを並べた文字列 	- char *optstr
  データ 			- char **opt1
*/
int	getopt(char c, char *optstr, char **opt1);

#endif
