Simon Rozman 1f242823d0 system: make sys_object::duplicate public
It's useful to clone std handles when creating streams to write/read to
standard streams. As the stream we give handle to assumes the handle
ownership, it'd close the std handles in stream destructor.

Signed-off-by: Simon Rozman <simon@rozman.si>
2024-04-17 13:58:59 +02:00
..