<< split from the "removing the null terminator at the end of string" thread >>
But, Lets say what you have stored in your buffer is the contents of your file that you've open,. How do you get all the content of that file into your string without it stopping after the first null.???