We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In PSRamFS_Test.ino lines: 191: if( file.write( (const uint8_t*)message, strlen(message)+1 ) ) { 214: if( file.write( (const uint8_t*)message, strlen(message)+1 ) ){
The "+1" causes writing of buffer contents to include the buffer terminating NULL (\0). This may be intentional by the CO (code originator).
It caused me some thinking on why there were extra characters returned from readfile.
It was a common "error" for my "C" students in the 80's writing in K&R C on MS-DOS and CP/M systems. ;)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In PSRamFS_Test.ino lines:
191: if( file.write( (const uint8_t*)message, strlen(message)+1 ) ) {
214: if( file.write( (const uint8_t*)message, strlen(message)+1 ) ){
The "+1" causes writing of buffer contents to include the buffer terminating NULL (\0).
This may be intentional by the CO (code originator).
It caused me some thinking on why there were extra characters returned from readfile.
It was a common "error" for my "C" students in the 80's writing in K&R C on MS-DOS and CP/M systems. ;)
The text was updated successfully, but these errors were encountered: