mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 17:43:31 +08:00
getline/getdelim for RT-Thread POSIX(IEEE Std 1003.1-2008)
https://github.com/ivanrad/getline
Read a delimited record from stream.
Yet another (hopefully portable C) implementation of getline/getdelim. These are ersatz functions, a drop-in replacement, to be used on those occasions when your C library does not already support them.
For more details, see Open Group Base Specification for getdelim/getline.
License
This code is unlicensed -- free and released into the public domain. See UNLICENSE
file for more information.