os_freebsd.go 696 B

123456789101112131415161718
  1. // Copyright 2014 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package runtime
  5. import "unsafe"
  6. func thr_new(param unsafe.Pointer, size int32)
  7. func sigaltstack(new, old unsafe.Pointer)
  8. func sigaction(sig int32, new, old unsafe.Pointer)
  9. func sigprocmask(new, old unsafe.Pointer)
  10. func setitimer(mode int32, new, old unsafe.Pointer)
  11. func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32
  12. func getrlimit(kind int32, limit unsafe.Pointer) int32
  13. func raise(sig int32)
  14. func sys_umtx_op(addr unsafe.Pointer, mode int32, val uint32, ptr2, ts unsafe.Pointer) int32