mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/* Optimizing macros and inline functions for stdio functions.
|
||||
Copyright (C) 1998, 2000, 2001, 2004 Free Software Foundation, Inc.
|
||||
Copyright (C) 1998, 2000, 2001, 2004, 2007 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -44,6 +44,16 @@ getchar (void)
|
||||
}
|
||||
|
||||
|
||||
# ifdef __USE_MISC
|
||||
/* Faster version when locking is not necessary. */
|
||||
__STDIO_INLINE int
|
||||
fgetc_unlocked (FILE *__fp)
|
||||
{
|
||||
return _IO_getc_unlocked (__fp);
|
||||
}
|
||||
# endif /* misc */
|
||||
|
||||
|
||||
# if defined __USE_POSIX || defined __USE_MISC
|
||||
/* This is defined in POSIX.1:1996. */
|
||||
__STDIO_INLINE int
|
||||
|
Reference in New Issue
Block a user