hpeek

@param fp The file stream @param buffer The buffer to which the peeked bytes will be written @param nbytes The number of bytes to peek at; limited by the size of the internal buffer, which could be as small as 4K. @return The number of bytes peeked, which may be less than _nbytes_ if EOF is encountered; or negative, if there was an I/O error.

The characters peeked at remain in the stream's internal buffer, and will be returned by later hread() etc calls.

extern (C)
hpeek
(,
void* buffer
,
size_t nbytes
)

Meta