We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Per https://pubs.opengroup.org/onlinepubs/9699919799/functions/gettimeofday.html, the gettimeofday() will be removed in a future POSIX.1 spec and should be replaced with clock_gettime().
The issue 7 of POSIX.1 has recently been released, and this has moved gettimeofday() to obsolescent status: https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap01.html
We should replace uses of gettimeofday() with clock_gettime() assuming this is supported on all distros.
gettimeofday()
clock_gettime()
clock_gettime() uses struct timespec (seconds and nanoseconds) rather than the struct timeval (seconds and microseconds) used by gettimeofday().
struct timespec
struct timeval
select() should be replaced with pselect().
select()
pselect()
The text was updated successfully, but these errors were encountered:
royhills
No branches or pull requests
Per https://pubs.opengroup.org/onlinepubs/9699919799/functions/gettimeofday.html, the gettimeofday() will be removed in a future POSIX.1 spec and should be replaced with clock_gettime().
The issue 7 of POSIX.1 has recently been released, and this has moved gettimeofday() to obsolescent status: https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap01.html
We should replace uses of
gettimeofday()
withclock_gettime()
assuming this is supported on all distros.clock_gettime()
usesstruct timespec
(seconds and nanoseconds) rather than thestruct timeval
(seconds and microseconds) used bygettimeofday()
.select()
should be replaced withpselect()
.The text was updated successfully, but these errors were encountered: