hgets

@param buffer The buffer into which bytes will be written @param size The size of the buffer (must be > 1 to be useful) @param fp The file stream @return _buffer_ on success, or NULL if an error occurred. @since 1.4

This function can be used as a replacement for fgets(3), or together with kstring's kgetline() to read arbitrarily-long lines into a _kstring_t_.

extern (C)
char*
hgets
(
char* buffer
,
int size
,)

Meta