aboutsummaryrefslogtreecommitdiff
path: root/support/support.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-04-09 10:05:13 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-04-12 18:38:37 -0300
commit49a40ba18e2cb948259771317fe6ff6f5eb68683 (patch)
tree3a7c8601b5c545810656904ad45a336c0058cd31 /support/support.h
parent5628f103f5937611730845390928cb43ef716012 (diff)
downloadglibc-49a40ba18e2cb948259771317fe6ff6f5eb68683.tar
glibc-49a40ba18e2cb948259771317fe6ff6f5eb68683.tar.gz
glibc-49a40ba18e2cb948259771317fe6ff6f5eb68683.tar.bz2
glibc-49a40ba18e2cb948259771317fe6ff6f5eb68683.zip
libsupport: Add support_select_normalizes_timeout
It will be used on a select() test.
Diffstat (limited to 'support/support.h')
-rw-r--r--support/support.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/support.h b/support/support.h
index f730611841..db264e3db7 100644
--- a/support/support.h
+++ b/support/support.h
@@ -148,6 +148,10 @@ extern bool support_stat_nanoseconds (const char *path);
no slept. */
extern bool support_select_modifies_timeout (void);
+/* Return true if select normalize the timeout input by taking in account
+ tv_usec larger than 1000000. */
+extern bool support_select_normalizes_timeout (void);
+
__END_DECLS
#endif /* SUPPORT_H */