system returns an integer that in C can be decoded with the macros in sys/waits.h, or something like that. I think 65280 = #xff00 so that means the child process exited normally. Just a quick guess after looking at /usr/include/bits/waitstatus.h. Not sure this is helpful.