From 49a40ba18e2cb948259771317fe6ff6f5eb68683 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 9 Apr 2021 10:05:13 -0300 Subject: libsupport: Add support_select_normalizes_timeout It will be used on a select() test. --- support/support.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'support/support.h') diff --git a/support/support.h b/support/support.h index f730611..db264e3 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 */ -- cgit v1.1