mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 11:07:46 +00:00
2920492e0a
Not sure why it's here but it's not referenced anywhere.
23 lines
281 B
Go
23 lines
281 B
Go
package syscall
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
const (
|
|
MSG_DONTWAIT = 0x40
|
|
AF_INET = 0x2
|
|
AF_INET6 = 0xa
|
|
)
|
|
|
|
func Exit(code int)
|
|
|
|
type Rlimit struct {
|
|
Cur uint64
|
|
Max uint64
|
|
}
|
|
|
|
func Setrlimit(resource int, rlim *Rlimit) error {
|
|
return errors.New("Setrlimit not implemented")
|
|
}
|