I saw a lot of times code where return status of function was set to *rc * variable (e.g. int rc = foo();). I开发者_C百科 though it some sort of convention and blindly used it all over my code.
Recently was asked by colleague what *rc * stands for and discovered that I indeed don't know the answer.
Thanks
It probably refers to
Return Code
rc stands for run code for instance when you want a code block or function to run on startup of the code snippet rc will automatically run the code you attach to it
精彩评论