ics_analyzer/src/read_until_nl.h

6 lines
173 B
C
Raw Permalink Normal View History

2023-08-15 16:31:07 +02:00
#pragma once
// this function will read until the next newline character
// and save the characters in a string you provide in arg2
int read_until_nl(int fd, char line[]);