hgetdelim

@param buffer The buffer into which bytes will be written @param size The size of the buffer @param delim The delimiter (interpreted as an unsigned char) @param fp The file stream @return The number of bytes read, or negative on error. @since 1.4

Bytes will be read into the buffer up to and including a delimiter, until EOF is reached, or _size-1_ bytes have been written, whichever comes first. The string will then be terminated with a NUL byte (\0).

@system nothrow @nogc extern (C)
hgetdelim
(
char* buffer
,
size_t size
,
int delim
,)

Meta