diff --git a/cwFile.h b/cwFile.h index 7580634..b608292 100644 --- a/cwFile.h +++ b/cwFile.h @@ -126,7 +126,8 @@ namespace cw // Same as fileToBuf() but accepts a file name argument. 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 ); // Read the next line into buf[bufByteCnt].