| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 
 |  
/* Traditionally, getc and putc are defined as macros. but the
   standard doesn't say that they must be macros.
   We use inline functions here to allow the fast versions
   to be used in C++ with namespace qualification, eg., ::getc.
 
   _filbuf and _flsbuf  are not thread-safe. */
_CRTIMP int __cdecl    _filbuf (FILE*);
_CRTIMP int __cdecl    _flsbuf (int, FILE*);
 
#if !defined _MT
 
__CRT_INLINE int __cdecl getc (FILE* __F)
{
  return (--__F->_cnt >= 0)
    ?  (int) (unsigned char) *__F->_ptr++
    : _filbuf (__F);
} | 
Partager