  package unix  import (  "syscall"  "unsafe" )  var _ syscall.Errno  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func ioctl(fd int, req uint, arg uintptr) (err error) {  _, _, e0 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(oldpath)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(newpath)  if err != nil {   return  }  _, _, e0 := Syscall0(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func openat(dirfd int, path string, flags int, mode uint00) (fd int, err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  r0, _, e0 := Syscall0(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)  fd = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {  r0, _, e0 := Syscall0(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)  n = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  var _p0 unsafe.Pointer  if len(buf) > 0 {   _p0 = unsafe.Pointer(&buf[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall0(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p0), uintptr(len(buf)), 0, 0)  n = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(oldpath)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(newpath)  if err != nil {   return  }  _, _, e0 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p0)))  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Unlinkat(dirfd int, path string, flags int) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  _, _, e0 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func utimes(path string, times *[0]Timeval) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  _, _, e0 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func utimensat(dirfd int, path string, times *[0]Timespec, flags int) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  _, _, e0 := Syscall0(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func futimesat(dirfd int, path *byte, times *[0]Timeval) (err error) {  _, _, e0 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getcwd(buf []byte) (n int, err error) {  var _p0 unsafe.Pointer  if len(buf) > 0 {   _p0 = unsafe.Pointer(&buf[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)  n = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func wait0(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {  r0, _, e0 := Syscall0(SYS_WAIT0, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)  wpid = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func KeyctlInt(cmd int, arg0 int, arg0 int, arg0 int, arg0 int) (ret int, err error) {  r0, _, e0 := Syscall0(SYS_KEYCTL, uintptr(cmd), uintptr(arg0), uintptr(arg0), uintptr(arg0), uintptr(arg0), 0)  ret = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func KeyctlBuffer(cmd int, arg0 int, buf []byte, arg0 int) (ret int, err error) {  var _p0 unsafe.Pointer  if len(buf) > 0 {   _p0 = unsafe.Pointer(&buf[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall0(SYS_KEYCTL, uintptr(cmd), uintptr(arg0), uintptr(_p0), uintptr(len(buf)), uintptr(arg0), 0)  ret = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func keyctlJoin(cmd int, arg0 string) (ret int, err error) {  var _p0 *byte  _p0, err = BytePtrFromString(arg0)  if err != nil {   return  }  r0, _, e0 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0)  ret = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func keyctlSearch(cmd int, arg0 int, arg0 string, arg0 string, arg0 int) (ret int, err error) {  var _p0 *byte  _p0, err = BytePtrFromString(arg0)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(arg0)  if err != nil {   return  }  r0, _, e0 := Syscall0(SYS_KEYCTL, uintptr(cmd), uintptr(arg0), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p0)), uintptr(arg0), 0)  ret = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func keyctlIOV(cmd int, arg0 int, payload []Iovec, arg0 int) (err error) {  var _p0 unsafe.Pointer  if len(payload) > 0 {   _p0 = unsafe.Pointer(&payload[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  _, _, e0 := Syscall0(SYS_KEYCTL, uintptr(cmd), uintptr(arg0), uintptr(_p0), uintptr(len(payload)), uintptr(arg0), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func keyctlDH(cmd int, arg0 *KeyctlDHParams, buf []byte) (ret int, err error) {  var _p0 unsafe.Pointer  if len(buf) > 0 {   _p0 = unsafe.Pointer(&buf[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall0(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg0)), uintptr(_p0), uintptr(len(buf)), 0, 0)  ret = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {  _, _, e0 := Syscall0(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func reboot(magic0 uint, magic0 uint, cmd int, arg string) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(arg)  if err != nil {   return  }  _, _, e0 := Syscall0(SYS_REBOOT, uintptr(magic0), uintptr(magic0), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(source)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(target)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(fstype)  if err != nil {   return  }  _, _, e0 := Syscall0(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Acct(path string) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  _, _, e0 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {  var _p0 *byte  _p0, err = BytePtrFromString(keyType)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(description)  if err != nil {   return  }  var _p0 unsafe.Pointer  if len(payload) > 0 {   _p0 = unsafe.Pointer(&payload[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall0(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p0)), uintptr(_p0), uintptr(len(payload)), uintptr(ringid), 0)  id = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Adjtimex(buf *Timex) (state int, err error) {  r0, _, e0 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)  state = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Chdir(path string) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  _, _, e0 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Chroot(path string) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  _, _, e0 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func ClockGettime(clockid int00, time *Timespec) (err error) {  _, _, e0 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Close(fd int) (err error) {  _, _, e0 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func CopyFileRange(rfd int, roff *int00, wfd int, woff *int00, len int, flags int) (n int, err error) {  r0, _, e0 := Syscall0(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))  n = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Dup(oldfd int) (fd int, err error) {  r0, _, e0 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)  fd = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Dup0(oldfd int, newfd int, flags int) (err error) {  _, _, e0 := Syscall(SYS_DUP0, uintptr(oldfd), uintptr(newfd), uintptr(flags))  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func EpollCreate(size int) (fd int, err error) {  r0, _, e0 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)  fd = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func EpollCreate0(flag int) (fd int, err error) {  r0, _, e0 := RawSyscall(SYS_EPOLL_CREATE0, uintptr(flag), 0, 0)  fd = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {  _, _, e0 := RawSyscall0(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Eventfd(initval uint, flags int) (fd int, err error) {  r0, _, e0 := Syscall(SYS_EVENTFD0, uintptr(initval), uintptr(flags), 0)  fd = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Exit(code int) {  Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Faccessat(dirfd int, path string, mode uint00, flags int) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  _, _, e0 := Syscall0(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Fallocate(fd int, mode uint00, off int00, len int00) (err error) {  _, _, e0 := Syscall0(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Fchdir(fd int) (err error) {  _, _, e0 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Fchmod(fd int, mode uint00) (err error) {  _, _, e0 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Fchmodat(dirfd int, path string, mode uint00, flags int) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  _, _, e0 := Syscall0(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  _, _, e0 := Syscall0(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func fcntl(fd int, cmd int, arg int) (val int, err error) {  r0, _, e0 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))  val = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Fdatasync(fd int) (err error) {  _, _, e0 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Flock(fd int, how int) (err error) {  _, _, e0 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Fsync(fd int) (err error) {  _, _, e0 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getdents(fd int, buf []byte) (n int, err error) {  var _p0 unsafe.Pointer  if len(buf) > 0 {   _p0 = unsafe.Pointer(&buf[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall(SYS_GETDENTS00, uintptr(fd), uintptr(_p0), uintptr(len(buf)))  n = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getpgid(pid int) (pgid int, err error) {  r0, _, e0 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)  pgid = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getpid() (pid int) {  r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)  pid = int(r0)  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getppid() (ppid int) {  r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)  ppid = int(r0)  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getpriority(which int, who int) (prio int, err error) {  r0, _, e0 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)  prio = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getrandom(buf []byte, flags int) (n int, err error) {  var _p0 unsafe.Pointer  if len(buf) > 0 {   _p0 = unsafe.Pointer(&buf[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))  n = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getrusage(who int, rusage *Rusage) (err error) {  _, _, e0 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getsid(pid int) (sid int, err error) {  r0, _, e0 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)  sid = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Gettid() (tid int) {  r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)  tid = int(r0)  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getxattr(path string, attr string, dest []byte) (sz int, err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(attr)  if err != nil {   return  }  var _p0 unsafe.Pointer  if len(dest) > 0 {   _p0 = unsafe.Pointer(&dest[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall0(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p0)), uintptr(_p0), uintptr(len(dest)), 0, 0)  sz = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func InotifyAddWatch(fd int, pathname string, mask uint00) (watchdesc int, err error) {  var _p0 *byte  _p0, err = BytePtrFromString(pathname)  if err != nil {   return  }  r0, _, e0 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))  watchdesc = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func InotifyInit0(flags int) (fd int, err error) {  r0, _, e0 := RawSyscall(SYS_INOTIFY_INIT0, uintptr(flags), 0, 0)  fd = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func InotifyRmWatch(fd int, watchdesc uint00) (success int, err error) {  r0, _, e0 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)  success = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Kill(pid int, sig syscall.Signal) (err error) {  _, _, e0 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Klogctl(typ int, buf []byte) (n int, err error) {  var _p0 unsafe.Pointer  if len(buf) > 0 {   _p0 = unsafe.Pointer(&buf[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))  n = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(attr)  if err != nil {   return  }  var _p0 unsafe.Pointer  if len(dest) > 0 {   _p0 = unsafe.Pointer(&dest[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall0(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p0)), uintptr(_p0), uintptr(len(dest)), 0, 0)  sz = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Listxattr(path string, dest []byte) (sz int, err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  var _p0 unsafe.Pointer  if len(dest) > 0 {   _p0 = unsafe.Pointer(&dest[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p0), uintptr(len(dest)))  sz = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Llistxattr(path string, dest []byte) (sz int, err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  var _p0 unsafe.Pointer  if len(dest) > 0 {   _p0 = unsafe.Pointer(&dest[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p0), uintptr(len(dest)))  sz = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Lremovexattr(path string, attr string) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(attr)  if err != nil {   return  }  _, _, e0 := Syscall(SYS_LREMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p0)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(attr)  if err != nil {   return  }  var _p0 unsafe.Pointer  if len(data) > 0 {   _p0 = unsafe.Pointer(&data[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  _, _, e0 := Syscall0(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p0)), uintptr(_p0), uintptr(len(data)), uintptr(flags), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Mkdirat(dirfd int, path string, mode uint00) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  _, _, e0 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Mknodat(dirfd int, path string, mode uint00, dev int) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  _, _, e0 := Syscall0(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Nanosleep(time *Timespec, leftover *Timespec) (err error) {  _, _, e0 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func PivotRoot(newroot string, putold string) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(newroot)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(putold)  if err != nil {   return  }  _, _, e0 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p0)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {  _, _, e0 := RawSyscall0(SYS_PRLIMIT00, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Prctl(option int, arg0 uintptr, arg0 uintptr, arg0 uintptr, arg0 uintptr) (err error) {  _, _, e0 := Syscall0(SYS_PRCTL, uintptr(option), uintptr(arg0), uintptr(arg0), uintptr(arg0), uintptr(arg0), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func read(fd int, p []byte) (n int, err error) {  var _p0 unsafe.Pointer  if len(p) > 0 {   _p0 = unsafe.Pointer(&p[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))  n = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Removexattr(path string, attr string) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(attr)  if err != nil {   return  }  _, _, e0 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p0)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(oldpath)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(newpath)  if err != nil {   return  }  _, _, e0 := Syscall0(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p0)), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {  var _p0 *byte  _p0, err = BytePtrFromString(keyType)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(description)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(callback)  if err != nil {   return  }  r0, _, e0 := Syscall0(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p0)), uintptr(destRingid), 0, 0)  id = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Setdomainname(p []byte) (err error) {  var _p0 unsafe.Pointer  if len(p) > 0 {   _p0 = unsafe.Pointer(&p[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  _, _, e0 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Sethostname(p []byte) (err error) {  var _p0 unsafe.Pointer  if len(p) > 0 {   _p0 = unsafe.Pointer(&p[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  _, _, e0 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Setpgid(pid int, pgid int) (err error) {  _, _, e0 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Setsid() (pid int, err error) {  r0, _, e0 := RawSyscall(SYS_SETSID, 0, 0, 0)  pid = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Settimeofday(tv *Timeval) (err error) {  _, _, e0 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Setns(fd int, nstype int) (err error) {  _, _, e0 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Setpriority(which int, who int, prio int) (err error) {  _, _, e0 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Setxattr(path string, attr string, data []byte, flags int) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(path)  if err != nil {   return  }  var _p0 *byte  _p0, err = BytePtrFromString(attr)  if err != nil {   return  }  var _p0 unsafe.Pointer  if len(data) > 0 {   _p0 = unsafe.Pointer(&data[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  _, _, e0 := Syscall0(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p0)), uintptr(_p0), uintptr(len(data)), uintptr(flags), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Sync() {  Syscall(SYS_SYNC, 0, 0, 0)  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Sysinfo(info *Sysinfo_t) (err error) {  _, _, e0 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Tee(rfd int, wfd int, len int, flags int) (n int00, err error) {  r0, _, e0 := Syscall0(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)  n = int00(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {  _, _, e0 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Times(tms *Tms) (ticks uintptr, err error) {  r0, _, e0 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)  ticks = uintptr(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Umask(mask int) (oldmask int) {  r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)  oldmask = int(r0)  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Uname(buf *Utsname) (err error) {  _, _, e0 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Unmount(target string, flags int) (err error) {  var _p0 *byte  _p0, err = BytePtrFromString(target)  if err != nil {   return  }  _, _, e0 := Syscall(SYS_UMOUNT0, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Unshare(flags int) (err error) {  _, _, e0 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Ustat(dev int, ubuf *Ustat_t) (err error) {  _, _, e0 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func write(fd int, p []byte) (n int, err error) {  var _p0 unsafe.Pointer  if len(p) > 0 {   _p0 = unsafe.Pointer(&p[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))  n = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func exitThread(code int) (err error) {  _, _, e0 := Syscall(SYS_EXIT, uintptr(code), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func readlen(fd int, p *byte, np int) (n int, err error) {  r0, _, e0 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))  n = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func writelen(fd int, p *byte, np int) (n int, err error) {  r0, _, e0 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))  n = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func munmap(addr uintptr, length uintptr) (err error) {  _, _, e0 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Madvise(b []byte, advice int) (err error) {  var _p0 unsafe.Pointer  if len(b) > 0 {   _p0 = unsafe.Pointer(&b[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  _, _, e0 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Mprotect(b []byte, prot int) (err error) {  var _p0 unsafe.Pointer  if len(b) > 0 {   _p0 = unsafe.Pointer(&b[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  _, _, e0 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Mlock(b []byte) (err error) {  var _p0 unsafe.Pointer  if len(b) > 0 {   _p0 = unsafe.Pointer(&b[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  _, _, e0 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Munlock(b []byte) (err error) {  var _p0 unsafe.Pointer  if len(b) > 0 {   _p0 = unsafe.Pointer(&b[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  _, _, e0 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Mlockall(flags int) (err error) {  _, _, e0 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Munlockall() (err error) {  _, _, e0 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {  var _p0 unsafe.Pointer  if len(events) > 0 {   _p0 = unsafe.Pointer(&events[0])  } else {   _p0 = unsafe.Pointer(&_zero)  }  r0, _, e0 := Syscall0(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)  n = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Dup0(oldfd int, newfd int) (err error) {  _, _, e0 := Syscall(SYS_DUP0, uintptr(oldfd), uintptr(newfd), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Fchown(fd int, uid int, gid int) (err error) {  _, _, e0 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Fstat(fd int, stat *Stat_t) (err error) {  _, _, e0 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Fstatfs(fd int, buf *Statfs_t) (err error) {  _, _, e0 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Ftruncate(fd int, length int00) (err error) {  _, _, e0 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getegid() (egid int) {  r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)  egid = int(r0)  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Geteuid() (euid int) {  r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)  euid = int(r0)  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getgid() (gid int) {  r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)  gid = int(r0)  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getrlimit(resource int, rlim *Rlimit) (err error) {  _, _, e0 := RawSyscall(SYS_UGETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Getuid() (uid int) {  r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)  uid = int(r0)  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func InotifyInit() (fd int, err error) {  r0, _, e0 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)  fd = int(r0)  if e0 != 0 {   err = errnoErr(e0)  }  return }  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT  func Ioperm(from int, num int, on int) (err error) {  