MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / main

Function main

src/sleep.c:206–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204
205
206int main()
207{
208 //struct tm start_time, end_time;
209 time_t rawtime;
210
211 for (int i = 0; i < 11; ++i)
212 {
213 char buf[256];
214 time(&rawtime);
215 hl_usleep(1000000); // test 1s sleep
216 date_strget(buf, sizeof(buf), 0);
217 printf("%s\n", buf);
218 time(&rawtime);
219 }
220
221 return 0;
222}
223#endif

Callers

nothing calls this directly

Calls 2

hl_usleepFunction · 0.85
date_strgetFunction · 0.85

Tested by

no test coverage detected