最終更新:2016-12-27 (火) 18:38:20 (2649d)
getopt_long
Top / getopt_long
int getopt_long(int argc, char * const argv[], const char *optstring, const struct option *longopts, int *longindex);
メモ
- ハイフン2つ+単語の構成のコマンドラインオプションを扱うための関数
オプション
struct option { const char *name; int has_arg; int *flag; int val; };