09.02.2012, 21:00
strcmp return 0 on success due to the way the strings are compared in the first place. I read a post about it a whole time ago about it having to do something with subtraction of character values (e.g. 'A' has the value 65).