MCPcopy Create free account
hub / github.com/RsyncProject/rsync / sys_gettimeofday

Function sys_gettimeofday

lib/compat.c:157–164  ·  view source on GitHub ↗

some systems don't take the 2nd argument */

Source from the content-addressed store, hash-verified

155
156/* some systems don't take the 2nd argument */
157int sys_gettimeofday(struct timeval *tv)
158{
159#ifdef HAVE_GETTIMEOFDAY_TZ
160 return gettimeofday(tv, NULL);
161#else
162 return gettimeofday(tv);
163#endif
164}
165
166/* Return the int64 number as a string. If the human_flag arg is non-zero,
167 * we may output the number in K, M, G, or T units. If we don't add a unit

Callers 1

gen_challengeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected