Output parameters in C
Factor handbook > C library interface > Passing data between Factor and C

Prev:C strings
Next:C value boxes


A frequently-occurring idiom in C code is the "out parameter". If a C function returns more than one value, the caller passes pointers of the correct type, and the C function writes its return values to those locations.
with-out-parameters ( c-types quot -- values... )