return code


Also found in: Dictionary, Thesaurus, Medical, Legal, Financial.

return code

[ri′tərn ‚kōd]
(computer science)
An indicator that is issued by a computer upon completion of a subroutine or function, or of the entire program, that indicates the result of the processing and, in particular, whether the processing was successful or ended abnormally because of an error.

return code

(1) A coded message that is sent by a function, program or server back to the program that called it in order to report the outcome of the processing. See HTTP return codes.

(2) The "carriage return" character code, which is embedded into text to signal the end of line. See CR.
References in periodicals archive ?
Return codes from I/O Examine program code, e.g., with operations not checked a code analyzer, to verify return code checking.
We have debated the merits of encouraging a consumer to test and make decisions based on only the return code. Doing so guarantees any component that can return the list of general error return codes we have defined will be compatible.
typedef int (*fptr)(); /* Type of the function we will be calling */ void cspec mk_unmarshal(type_t *types, int nargs) { int i; fptr vspec fp = param(fptr, 0); /* Arg 0: the function to invoke */ type *vspec m = param(type *, 1); /* Arg 1: the vector to unmarshal */ void cspec args = push_init(); /* Initialize the dynamic argument list */ for (i = 0; i < nargs; i++) { /* Build up the dynamic argument list */ switch(types[i]) { case INTEGER: push(args, `m[$i].i); break; case DOUBLE: push(args, `m[$i].d); break; case POINTER: push(args, `m[$i].p); break; } } /* Return code spec to call the given function with unmarshaled args */ return `{ fp(args); }; } 4.3 Dynamic Inlining