Update 'P06_Personen_Verwaltung_Linked_List/work/personen-verwaltung/src/read.c'

This commit is contained in:
Roman Schenk 2022-04-06 21:44:03 +02:00
parent 762a5aa2bf
commit 070f69d499
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ int getInt(int maxResult) {
char buffer[BUFFERSIZE] = {0}; char buffer[BUFFERSIZE] = {0};
int result = 0; int result = 0;
// read line: up to EOL or EOF (i.e. error while reading) // read line: up to EOL or EOF (i.e. error while reading)
int bytes = 0; int bytes = 0;
int input = getchar(); int input = getchar();