getdelim()
& getline()
implementation in C.
Licensed under BSD Zero Clause License, a public-domain equivalent license.
To use getdelim()
& getline()
functions:
-
Include this project using CMake and link your targets with CMake targets
getdelim::getdelim
. -
Or, copy
include/ay/getdelim.h
into your project and create a C file with following content (or just copysrc/ay/getdelim.c
):
#define AY_GETDELIM_IMPLEMENTATION 1
#include "Path to getdelim.h file"
Refer to POSIX documentation for getdelim()
& getline()
functions, found
here: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getdelim.html
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as below, without any additional terms or conditions.
© 2021 arnavyc <[email protected]>
Licensed under the Zero Clause BSD License. See LICENSE.md
file in the project root, or https://opensource.org/licenses/0BSD for full
license information.