Re:On Go, Portability, and System Interfaces
by 4ad on Tuesday September 22, 2015 @08:16PM
(#10262608)
Not sure I understand your point, tcsetattr calls a system call on its own...
So the alternatives are between doing a trivial system call on the Go stack, or doing a complex stack switch operation that does the (too complicated) System V calling convention ABI translation, and then calls a function that does a system call...
So the alternatives are between doing a trivial system call on the Go stack, or doing a complex stack switch operation that does the (too complicated) System V calling convention ABI translation, and then calls a function that does a system call...