This repository has been archived on 2025-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
ics_cli/src/read_until_string.h
2023-08-15 16:31:07 +02:00

8 lines
322 B
C

// the same as read_until_string, but this function not only truncates but fills remaining chars with null characters
// this function is cleaner and nicer to work with, but not as fast as "read_until_string"
// ct means "clean truncate"
#pragma once
void read_until_string(int fd, char buffer[], char search_string[]);