Curves tool and curve points interpolation in various packages

Not understood the colorspace question…
Curves modify the values of the pixel, not the way the pixel values are showed or printed through the color space? or am I missing something?