|
|
@@ -85,6 +85,7 @@ import (
|
|
|
//go:cgo_import_dynamic libc_pause pause "libc.a/shr_64.o"
|
|
|
//go:cgo_import_dynamic libc_pread64 pread64 "libc.a/shr_64.o"
|
|
|
//go:cgo_import_dynamic libc_pwrite64 pwrite64 "libc.a/shr_64.o"
|
|
|
+//go:cgo_import_dynamic libc_select select "libc.a/shr_64.o"
|
|
|
//go:cgo_import_dynamic libc_pselect pselect "libc.a/shr_64.o"
|
|
|
//go:cgo_import_dynamic libc_setregid setregid "libc.a/shr_64.o"
|
|
|
//go:cgo_import_dynamic libc_setreuid setreuid "libc.a/shr_64.o"
|
|
|
@@ -201,6 +202,7 @@ import (
|
|
|
//go:linkname libc_pause libc_pause
|
|
|
//go:linkname libc_pread64 libc_pread64
|
|
|
//go:linkname libc_pwrite64 libc_pwrite64
|
|
|
+//go:linkname libc_select libc_select
|
|
|
//go:linkname libc_pselect libc_pselect
|
|
|
//go:linkname libc_setregid libc_setregid
|
|
|
//go:linkname libc_setreuid libc_setreuid
|
|
|
@@ -320,6 +322,7 @@ var (
|
|
|
libc_pause,
|
|
|
libc_pread64,
|
|
|
libc_pwrite64,
|
|
|
+ libc_select,
|
|
|
libc_pselect,
|
|
|
libc_setregid,
|
|
|
libc_setreuid,
|
|
|
@@ -893,6 +896,13 @@ func callpwrite64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1
|
|
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
|
|
+func callselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr) (r1 uintptr, e1 Errno) {
|
|
|
+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_select)), 5, uintptr(nfd), r, w, e, timeout, 0)
|
|
|
+ return
|
|
|
+}
|
|
|
+
|
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
+
|
|
|
func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) {
|
|
|
r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pselect)), 6, uintptr(nfd), r, w, e, timeout, sigmask)
|
|
|
return
|