🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Minh Tran-Le Thu, 01 Mar 1990 17:41
does anybody has a well behave 'ungetc' ?
#2923
Author: Minh Tran-Le
Date: Thu, 01 Mar 1990 17:41
11 lines
753 bytes
Does anybody has a version of 'ungetc' that does not try to put back
the character if the character is already in the buffer but just 
decrement the read pointer.
I am trying to get around scanf so that I don't have to put -fwritable-string
with gcc.

Thanks, Tran-Le

arpanet: tranle@intellicorp.com
uucp:   ..sun!icmv!mtranle
-------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads