summaryrefslogtreecommitdiff
path: root/lib/unlocked-io.hin
blob: 7c7f87e47185c7a8115a945371f52c3c96f523b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef UNLOCKED_IO_H
# define UNLOCKED_IO_H 1

# if USE_UNLOCKED_IO

/* These are wrappers for functions/macros from GNU libc.
   The standard I/O functions are thread-safe.  These *_unlocked ones
   are more efficient but not thread-safe.  That they're not thread-safe
   is fine since all these applications are single threaded.  */

@replace_this@

# endif /* USE_UNLOCKED_IO */
#endif /* UNLOCKED_IO_H */