4 trap 'status=$?; rm -f $tmp && exit $status' 0
5 trap '{ (exit 1); exit 1; }' 1 2 13 15
9 # define UNLOCKED_IO_H 1
13 /* These are wrappers for functions/macros from GNU libc.
14 The standard I/O functions are thread-safe. These *_unlocked ones are
15 more efficient but not thread-safe. That they're not thread-safe is
16 fine since all of the applications in this package are single threaded. */
21 u=`echo $f|tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
23 # if HAVE_${u}_UNLOCKED
29 putchar | clearerr | feof | ferror | fflush | getc )
31 putc | fputc | fputs )
38 echo $0: missing case for $f 2>&1; exit 1;;
41 # define $f($params) ${f}_unlocked ($params)
48 # endif /* USE_UNLOCKED_IO */
49 #endif /* UNLOCKED_IO_H */