Restore the previously saved auto-conversion mode for a standard handle.
Declared in <llvm/Support/AutoConvert.h>
std::error_code
restoreStdHandleAutoConversion(int FD);
Applies to stdin, stdout, or stderr after enableAutoConversion has recorded their prior conversion state. On non-z/OS platforms this is a no-op that returns success.
A default-constructed error_code on success, otherwise the platform error from restoring conversion.
| Name | Description |
|---|---|
| FD | The standard file descriptor to restore. |