Forum Discussion

LucasM's avatar
LucasM
Icon for New Contributor rankNew Contributor
7 years ago
Solved

How to read from stdin in NIOSII with the small_c_library

whithout the small_c_library checked, i am unable to read from standard input. unless there's some sort of alt_fopen, how do i read from the standard character streams whithout gets,scanf and fopen?...
  • LucasM's avatar
    7 years ago

    It seems that with the small c library enabled stdin,stdou and stderr are "preopened" files, so i can interact with them as files whithout opening them, can't find right now exactly where i saw this info.