SysTutorials

Linux Manual Pages › Section 3

curlopt_timevalue(3)

CURLOPT_TIMEVALUE – set time value for conditional

Synopsis

#include <curl/curl.h>

CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TIMEVALUE, long val);

Description

Pass a long val as parameter. This should be the time counted as seconds since 1 Jan 1970, and the time will be used in a condition as specified with CURLOPT_TIMECONDITION(3).

Default

0

Protocols

HTTP, FTP, RTSP, and FILE

Example

TODO

Availability

Always

Return Value

Returns CURLE_OK

See Also

CURLOPT_TIMECONDITION(3),