cwFile.h : Updated documentation.

This commit is contained in:
kevin 2023-05-11 21:09:52 -04:00
parent 287184c846
commit 42891ed719

View File

@ -126,7 +126,8 @@ namespace cw
// Same as fileToBuf() but accepts a file name argument. // Same as fileToBuf() but accepts a file name argument.
char* fnToStr( const char* fn, unsigned* bufByteCntPtr ); char* fnToStr( const char* fn, unsigned* bufByteCntPtr );
// Return the count of lines in a file. // Return the count of lines in a file following the current file position.
// This function does not change current file position.
rc_t lineCount( handle_t h, unsigned* lineCntPtr ); rc_t lineCount( handle_t h, unsigned* lineCntPtr );
// Read the next line into buf[bufByteCnt]. // Read the next line into buf[bufByteCnt].