| ||||||
| 5/31 |
| 2003/10/22 [Uncategorized] UID:10731 Activity:nil |
10/21 Is there a POSIX/ISO/??? standard for getting the current time?
My function needs to timeout after X useconds, but I don't know
how to compare startTime to endTime. Thanks.
\_ use time() to get the seconds since the epoch.
\_ that won't yield useconds.
\_ gettimeofday()? But if you want to wait, use select. |