LibCore: Add a standard error stream getter

This commit is contained in:
Ali Mohammad Pur 2021-05-21 21:08:10 +04:30 committed by Ali Mohammad Pur
parent 800bcb9965
commit f740667fa1
Notes: sideshowbarker 2024-07-18 17:22:46 +09:00

View file

@ -113,6 +113,11 @@ public:
return OutputFileStream { Core::File::standard_output() };
}
static OutputFileStream standard_error()
{
return OutputFileStream { Core::File::standard_error() };
}
static Buffered<OutputFileStream> stdout_buffered()
{
return Buffered<OutputFileStream> { Core::File::standard_output() };