參數flag,表示當前長參數在longopts中的索引值。 給個例子:. struct option long_options[] = {. {"a123", required_argument, 0, 'a'}, ...
確定! 回上一頁