Merge from gnulib.
commitf6fc181190f71c62ed6b557f4f4ce91a9f3d35f8
authorJim Meyering <jim@meyering.net>
Fri, 16 Jan 2004 09:58:08 +0000 (16 09:58 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 16 Jan 2004 09:58:08 +0000 (16 09:58 +0000)
tree82fa22a183eda46a217ee8e62051118d546d9446
parentbb1f3d64bd21349f4fdb3fb59c9e4ea97637912d
Merge from gnulib.

Include <stdio.h>, so that the caller
doesn't have to include <stdio.h> before us.
(clearerr_unlocked, feof_unlocked, ferror_unlocked,
fflush_unlocked, fgets_unlocked, fputc_unlocked, fputs_unlocked,
fread_unlocked, fwrite_unlocked, getc_unlocked, getchar_unlocked,
putc_unlocked, putchar_unlocked): Define to the unlocked counterpart
if not declared, so that we can use getpass.c code from libc without
rewriting it.
(flockfile, ftrylockfile, funlockfile): New macros.
lib/unlocked-io.h