mirror of
https://github.com/curl/curl.git
synced 2024-12-03 06:20:31 +08:00
parent
8d3ce930f8
commit
276ffedec2
@ -70,10 +70,10 @@ name is provided for backwards compatibility as an alias.
|
||||
.nf
|
||||
/* iterate over all available options */
|
||||
const struct curl_easyoption *opt;
|
||||
opt = curl_easy_option_by_next(NULL);
|
||||
opt = curl_easy_option_next(NULL);
|
||||
while(opt) {
|
||||
printf("Name: %s\\n", opt->name);
|
||||
opt = curl_easy_option_by_next(opt);
|
||||
opt = curl_easy_option_next(opt);
|
||||
}
|
||||
.fi
|
||||
.SH AVAILABILITY
|
||||
|
Loading…
Reference in New Issue
Block a user