hi i just inherited some code and i am trying understand and pick apart before i start using it. there's a part of code with syntax that i am unfamilar with:

Code:
STATUS myfunct(void)
{
   do stuff here.

   return(OK);
}
what i am confused about is using STATUS as a return type. I tried searching for it all over in the other code, but it doesn't seem to be defined anywhere. is that just something or a standard C++ thing or system variable? i just switched over from C and i've never seen something like this.

i've found OK and ERROR #defined in a header file as 0 and -1, but STATUS is no where to be found. the stuff works, this stuff is just greek to me.

i'd appreciate if anyone could explain this to me or lead me in the right direction. thanks so much!!