The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
None that I know of: zero is normally a valid result in all systems.
About the best I can think of is that you add data to the checksum: maybe convert it to hex digits, so a zero checksum would produce "00" instead of '\0'
Why on earth do you think you need this?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!