stdio/device: rework function naming convention