Hello,

Pirate Praveen, le mer. 15 avril 2020 20:15:30 +0530, a ecrit:
> src/github.com/nsf/termbox-go/termbox.go:507:37: error: reference to
> undefined identifier ‘syscall.SYS_FCNTL’
>  507 |  r, _, e := syscall.Syscall(syscall.SYS_FCNTL, uintptr(fd),
> uintptr(cmd),
>      |                                     ^

Such hardcoding is indeed deemed to fail: fcntl is not a system call on
GNU/Hurd: since the implementation can be userland one really has to
call the fcntl() function provided by glibc, as it really should on any
reasonable Unix system.

Samuel

Reply via email to