Changeset 2044 for trunk/src/libctests/glibc/test-skeleton.c
- Timestamp:
- Jun 17, 2005, 6:32:39 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libctests/glibc/test-skeleton.c
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r2043 r2044 21 21 #include <errno.h> 22 22 #include <getopt.h> 23 #include <malloc.h> 23 /*#include <malloc.h> - been replaced by <stdlib.h> ages ago */ 24 24 #include <search.h> 25 25 #include <signal.h> … … 32 32 #include <sys/param.h> 33 33 #include <time.h> 34 35 /* bird added for bsd */ 36 #ifndef TEMP_FAILURE_RETRY /* special GNU idea */ 37 # define TEMP_FAILURE_RETRY(expression) \ 38 (__extension__ \ 39 ({ long int __result; \ 40 do __result = (long int) (expression); \ 41 while (__result == -1L && errno == EINTR); \ 42 __result; })) 43 #endif 44 45 #ifndef HAVE_QELEM 46 struct qelem 47 { 48 struct qelem *q_forw; 49 struct qelem *q_back; 50 char q_data[1]; 51 }; 52 #endif 34 53 35 54 /* The test function is normally called `do_test' and it is called -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.