summaryrefslogtreecommitdiff
path: root/m4/jm-glibc-io.m4
blob: 115601f32eedfe70f79de35750e5888e9e1f938d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#serial 1

dnl From Jim Meyering.
dnl
dnl See if the glibc *_unlocked I/O macros are available.
dnl

AC_DEFUN(jm_FUNC_GLIBC_UNLOCKED_IO,
  [AC_CHECK_FUNCS(				\
    clearerr_unlocked				\
    feof_unlocked				\
    ferror_unlocked				\
    fflush_unlocked				\
    fputc_unlocked				\
    fread_unlocked				\
    fwrite_unlocked				\
    getc_unlocked				\
    getchar_unlocked				\
    putc_unlocked				\
    putchar_unlocked				\
   )
  ]
)