Linux-libre 5.4.48-gnu
[librecmc/linux-libre.git] / tools / testing / vsock / timeout.h
1 #ifndef TIMEOUT_H
2 #define TIMEOUT_H
3
4 enum {
5         /* Default timeout */
6         TIMEOUT = 10 /* seconds */
7 };
8
9 void sigalrm(int signo);
10 void timeout_begin(unsigned int seconds);
11 void timeout_check(const char *operation);
12 void timeout_end(void);
13
14 #endif /* TIMEOUT_H */