MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/up1n81/got_it/i8ljor5/
r/badcode • u/No_Machine3324 • May 13 '22
55 comments sorted by
View all comments
1
But what does it do if ungets is empty?
ungets
2 u/anton____ May 14 '22 Read from a stream, this is likely implemented for dealing with handling of newlines (something about the \r\n bullshit in windows or multiple newlines). It's important enough to make it into the standard library.
2
Read from a stream, this is likely implemented for dealing with handling of newlines (something about the \r\n bullshit in windows or multiple newlines). It's important enough to make it into the standard library.
View all comments
1
u/The_JSQuareD May 14 '22
But what does it do if
ungetsis empty?