summaryrefslogtreecommitdiff
path: root/test/test-skeleton.h
blob: f4758682f912ffe1827b1fdb7537d104869d69d3 (plain)
1
2
3
4
5
6
7
8
#ifndef TEMP_FAILURE_RETRY 
#define TEMP_FAILURE_RETRY(expression) \
  (__extension__                                                              \
    ({ long int __result;                                                     \
       do __result = (long int) (expression);                                 \
       while (__result == -1L && errno == EINTR);                             \
       __result; }))
#endif