a function that reads n bytes at a time and returns the next line of input
git clone
Log | Files | Refs | README

commit 6fc0a9c1ef671f6eaff6d546396f7fc0494407ea
parent 3a96e8f2ce90ca5f41738da115208feb5cd754f6
Author: Tanguy Andreani <>
Date:   Tue, 18 Feb 2020 19:43:26 +0100

added list of allowed external functions

Diffstat: | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/ b/ @@ -13,6 +13,8 @@ detects a newline. It should then return a copy of the whole line while keeping the excess bytes in a safe place. A successive call will return the next line or NULL if there is nothing left to read. +Allowed functions: syscalls `read`, `malloc` and `free`. + ## Example Let's say `GNL_READ_SIZE` is 4.