Functions can return a number, pointer, and most of the type you want, but what's the meaning of it?
return ret < 0;
(This code snippet is from the last line of the code, ffprobe.c.)
It will return either 1
or 0
depending upon the condition ret < 0
is true
or false
.
You can understand this as
if(ret < 0)
return 1;
else
return 0;