Skip to content
Snippets Groups Projects
Commit 6bcec3b4 authored by Martin Stiemerling's avatar Martin Stiemerling :speech_balloon:
Browse files

replaced outdated(?) struct for kevent, did run mkall.sh again

parent ccfcd108
No related branches found
No related tags found
No related merge requests found
...@@ -248,7 +248,9 @@ const ( ...@@ -248,7 +248,9 @@ const (
// Events (kqueue, kevent) // Events (kqueue, kevent)
type Kevent_t C.struct_kevent_freebsd11 // there is no keven_freebsd11 under freebsd 14.1 release
//type Kevent_t C.struct_kevent_freebsd11
type Kevent_t C.struct_kevent
// Select // Select
......
...@@ -282,7 +282,15 @@ const ( ...@@ -282,7 +282,15 @@ const (
PTRACE_KILL = 0x8 PTRACE_KILL = 0x8
) )
type Kevent_t _cgopackage.Incomplete type Kevent_t struct {
Ident uint64
Filter int16
Flags uint16
Fflags uint32
Data int64
Udata *byte
Ext [4]uint64
}
type FdSet struct { type FdSet struct {
X__fds_bits [16]uint64 X__fds_bits [16]uint64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment