/ Published in: C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
struct tm tm = {}; strptime("2009-06-11 10:15", "%Y-%m-%d %H:%M", &tm); struct timespec ts = {}; dispatch_time_t timeout = dispatch_walltime(&ts, 0);
struct tm tm = {}; strptime("2009-06-11 10:15", "%Y-%m-%d %H:%M", &tm); struct timespec ts = {}; dispatch_time_t timeout = dispatch_walltime(&ts, 0);