Is it possible to give a Slave Port Name an alias? What function would I use?
是否可以为从属端口名称提供别名?我会用什么功能?
I have created a Pseudo Terminal and I want to give an alias to the slave port. So I want to rename /dev/ttys000
to /dev/gps0
.
我创建了一个伪终端,我想给从端口一个别名。所以我想将/ dev / ttys000重命名为/ dev / gps0。
Is it possible to do such as thing? And what function would I use?
有可能做这样的事吗?我会用什么功能?