Ns_DupHigh moves file descriptors above 256 on platforms where the file descriptor in the stdio FILE structure is an unsigned char. By calling Ns_DupHigh on file descriptors that you know will not be buffered, you can leave as many low file descriptors available for stdio as possible. Ns_DupHigh is not supported on platforms where this is not an issue.