mirror of
https://github.com/siemens-mobile-hacks/dc166-patch.git
synced 2026-11-25 19:37:24 +00:00
8 lines
153 B
C
8 lines
153 B
C
#include "dc166_stdio.h"
|
|
|
|
int getc(FILE *stream)
|
|
{
|
|
if (++stream->_cnt < 0)
|
|
return (int)(unsigned char)*stream->_ptr++;
|
|
return _filbuf(stream);
|
|
}
|