You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if the close() system call is invoked with fd < 3, close() won't take any action and won't return an error code of -1. Some programs may need to close stdout or stderr to avoid excessive output. Therefore, the current implementation may lead to users getting unexpected results. However, rv32emu also uses stdout and stderr to output some information. Therefore, directly closing stdout and stderr would result in the loss of relevant output information from rv32emu. Here are two possible ways to address this:
close() performs no action but returns an error code of -1.
Close stdout and stderr as usual and allow rv32emu to lose output information.
The text was updated successfully, but these errors were encountered:
Currently, if the close() system call is invoked with fd < 3, close() won't take any action and won't return an error code of -1. Some programs may need to close stdout or stderr to avoid excessive output. Therefore, the current implementation may lead to users getting unexpected results. However, rv32emu also uses stdout and stderr to output some information. Therefore, directly closing stdout and stderr would result in the loss of relevant output information from rv32emu. Here are two possible ways to address this:
The text was updated successfully, but these errors were encountered: