sif
sif copied to clipboard
added a primitive scan line function for standard input
Function relies on C's fgets.
it's behaviour is described as follows:
Returns string allocated using allocator with length at max 256 characters.
.. And the string returned will not include newline.
This function will need to be replaced with something else later though.
This function returns a line entered by user as a string.
- The length can be arbitrary.
- The newline character isn't included.