http://www.aihara.co.jp/~junt/program/getopt.html
http://www.am.sanken.osaka-u.ac.jp/~mukaigaw/misc/getopt.html
http://www.fireproject.jp/feature/c-language/basic-library/getargs.html