One option would be to add a new ByteOrder to the encoding/binary
package: HostByteOrder (or perhaps NativeByteOrder). Then you could
pass that to binary.Read.
Ian
There is also a func read, which takes fd int, p *byte, n int.
syscall.read(sigfd, (*byte)(unsafe.Pointer(&info)), unsafe.Sizeof(info))
Russ
It can't. But I assumed that you would be putting
implementations of new system calls in the syscall package.
Russ
Sure.
Russ