runtime: testing runtime

This commit is contained in:
Li Jie
2025-02-14 17:18:13 +08:00
parent 66909b3000
commit 5329f28580
83 changed files with 3376 additions and 2061 deletions

View File

@@ -20,7 +20,7 @@ const (
LLGoPackage = "noinit"
)
type Errno = uintptr
type Errno uintptr
// A Signal is a number describing a process signal.
// It implements the os.Signal interface.
@@ -30,3 +30,7 @@ type Signal = int
func (ts *Timespec) Unix() (sec int64, nsec int64) {
return int64(ts.Sec), int64(ts.Nsec)
}
func (iov *Iovec) SetLen(length int) {
iov.Len = uint64(length)
}