AES代码学习笔记(aescrypt)

1.getopt()

表头文件 #include<unistd.h>

定义函数 int getopt(int argc,char * const argv[ ],const char * optstring);

extern char *optarg;

extern int optind, opterr, optopt;
 
optstring表示可选参数,加冒号表示后面必须跟参数,参数复制给optarg。
posted @ 2012-12-08 21:17  孤独的小马哥  阅读(286)  评论(0编辑  收藏  举报