Looks fine to me (you can omit the fseek() though). To be sure I ran this on a completely different system and it does what you intended to do (i.e. replace the first character in the file with the letter 's').Originally Posted by TMNT
Are you sure the file isn't read-only? Also, is options non-null as result of fopen()?