I was looking at puts
function in C++ (cstdio) and found that it returns non-zero value in case of success.
I tried searching on internet if there is any significance of that non-zero return value but could not find anything.
I have also tried multiple inputs to puts and tried to correlate that to the outputted value but no progress on that front as well.