The getopt() function re- turns -1 when the argument list is exhausted. EXAMPLES #include <unistd.h> int bflag, ch, fd; bflag = 0; while ((ch = getopt(argc, ...
確定! 回上一頁