mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-06 06:20:23 +08:00
bc10065533
* libc/include/stdio.h: Move fcloseall prototype within #ifndef _REENT_ONLY section. * libc/sys/linux/Makefile.am: Add new files. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/sys/stdio.h: Add ctermid prototype. * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype. * libc/sys/linux/sys/types.h: Add ino64_t type. * libc/sys/linux/ctermid.c: New file. * libc/sys/linux/ttyname_r.c: Ditto. * libc/sys/linux/readdir64.c: Ditto.
22 lines
550 B
C
22 lines
550 B
C
#ifndef _NEWLIB_STDIO_H
|
|
#define _NEWLIB_STDIO_H
|
|
|
|
/* Internal locking macros, used to protect stdio functions. In the
|
|
linux case, expand to flockfile, and funlockfile, both defined in
|
|
LinuxThreads. */
|
|
#if !defined(__SINGLE_THREAD__)
|
|
# if !defined(_flockfile)
|
|
# define _flockfile(fp) flockfile(fp)
|
|
# endif
|
|
# if !defined(_funlockfile)
|
|
# define _funlockfile(fp) funlockfile(fp)
|
|
# endif
|
|
#endif /* __SINGLE_THREAD__ */
|
|
|
|
#define getline __getline
|
|
#define getdelim __getdelim
|
|
|
|
char * _EXFUN(ctermid, (char *));
|
|
|
|
#endif /* _NEWLIB_STDIO_H */
|