What is the purpose of `buf` in arguments of `dup`?
Created by: equal-l2
dup
has buf: &[u8]
as an argument.
What is the purpose of this argument?
I saw it was used in termion in the implementation of isatty
.
Created by: equal-l2
dup
has buf: &[u8]
as an argument.
What is the purpose of this argument?
I saw it was used in termion in the implementation of isatty
.