ftstc implementation

Carlos O'Donell carlos@systemhalted.org
Sat Aug 9 14:58:00 GMT 2014


On Wed, Aug 6, 2014 at 2:26 PM, Suhas Chakravarty
<suhas.chakravarty@gmail.com> wrote:
> Is ftstc()'s implementation provided as part of libc? It tests for the
> presence of a char in stdin/file.

The ftstc() function is not provided by glibc.

I'm not that familiar with these functions, but believe they are BSD
extensions and that tstc() also exists, but is not implemented by
glibc.

Why do you ask? Are you porting software to GNU/Linux and finding that
glibc doesn't provide these functions?

Do you have a reference anywhere that explains what these functions do?

Cheers,
Carlos.



More information about the Libc-help mailing list