StackOverflow Questions for Tag: fflush

byteunit
byteunit

Reputation: 1063

fflush() on invalid FILE pointer returns 0 if compiled with sanitizer

Score: 4

Views: 122

Answers: 1

Read More

fflush(stdout) doesn't work on WSL Ubuntu

Score: -1

Views: 120

Answers: 1

Read More
Peter Žaucer
Peter Žaucer

Reputation: 1

Restoring stdin after dup2 without using fflush is inconsistent

Score: 0

Views: 56

Answers: 0

Read More
Learner
Learner

Reputation: 37

Select always returns 0 in an input file

Score: 0

Views: 70

Answers: 1

Read More
Deadalus
Deadalus

Reputation: 1

fflush(stdin) not working and letting a loop continue

Score: 0

Views: 32

Answers: 0

Read More
tahzibi.jafar
tahzibi.jafar

Reputation: 319

Is it necessary to use fflush more than once?

Score: 0

Views: 93

Answers: 1

Read More
wrongusername
wrongusername

Reputation: 18918

Using fflush(stdin)

Score: 103

Views: 66273

Answers: 7

Read More
Christopher Miller
Christopher Miller

Reputation: 3461

Do `fseek`, `fsetpos`, and `rewind` flush the buffer in C?

Score: 2

Views: 149

Answers: 2

Read More
sumiicode.exe
sumiicode.exe

Reputation: 23

Is there a way to compare multiple strings in C? [ I input them through fgets() ]

Score: 2

Views: 128

Answers: 4

Read More
SuibianP
SuibianP

Reputation: 128

fflush(NULL) and POSIX compliance

Score: 2

Views: 268

Answers: 1

Read More
nkg
nkg

Reputation: 961

Clear input buffer after fgets() in C

Score: 13

Views: 28512

Answers: 5

Read More
3088 K
3088 K

Reputation: 95

what is practical differences between flush, write() and fflush()?

Score: 0

Views: 624

Answers: 1

Read More
Anivartin Anand
Anivartin Anand

Reputation: 19

I am trying to update the command line output 3 times using \r in C, but why does it skip over my second printf statement?

Score: 0

Views: 40

Answers: 1

Read More
radx
radx

Reputation: 1

How to flush cin in c++ properly?

Score: 0

Views: 37

Answers: 0

Read More
Carlos
Carlos

Reputation: 145

Extract unique IPs from live tcpdump capture

Score: 9

Views: 17226

Answers: 4

Read More
mrk
mrk

Reputation: 3189

Flushing buffers in C

Score: 85

Views: 237912

Answers: 1

Read More
dfmaaa1
dfmaaa1

Reputation: 77

printf prints text two times in while loop even after fflushing stdin after scanf

Score: 0

Views: 24

Answers: 0

Read More
Subodh Asthana
Subodh Asthana

Reputation: 393

I am not able to flush stdin. How can I flush stdin in C?

Score: 23

Views: 72712

Answers: 8

Read More
Singh
Singh

Reputation: 95

intricacies/understanding the stdio buffer and dup2

Score: 0

Views: 148

Answers: 1

Read More
Mir Miracle
Mir Miracle

Reputation: 11

Function inputElements() taking input only once

Score: 1

Views: 37

Answers: 0

Read More
PreviousPage 1Next