remove get_line, replaced by readline

This commit is contained in:
2023-07-24 02:57:33 +02:00
parent 85aeaebc7a
commit 5dcace0cbe
2 changed files with 0 additions and 55 deletions

View File

@ -1,23 +0,0 @@
define GET_LINE=0;
main()
{
local ptr;
name = "get_line";
if (GET_LINE == 0)
return;
putstr("yo\n");
ptr = get_line();
test_str(ptr, "yo\n", "");
free(ptr);
putstr("ENTER\n");
ptr = get_line();
test_str(ptr, "\n", "");
free(ptr);
putstr("ctrl + D\n");
ptr = get_line();
test_num(ptr, NULL, "");
}