当前位置: 首页 > 工具软件 > AESCrypt > 使用案例 >

AES代码学习笔记(aescrypt)

杜思远
2023-12-01

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。

转载于:https://www.cnblogs.com/marvin007/archive/2012/12/08/2809240.html

 类似资料: