...

Source file src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go

Documentation: cmd/vendor/golang.org/x/sys/unix

     1  // go run mksyscall_aix_ppc64.go -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go
     2  // Code generated by the command above; see README.md. DO NOT EDIT.
     3  
     4  //go:build aix && ppc64 && gccgo
     5  
     6  package unix
     7  
     8  /*
     9  #include <stdint.h>
    10  int utimes(uintptr_t, uintptr_t);
    11  int utimensat(int, uintptr_t, uintptr_t, int);
    12  int getcwd(uintptr_t, size_t);
    13  int accept(int, uintptr_t, uintptr_t);
    14  int getdirent(int, uintptr_t, size_t);
    15  int wait4(int, uintptr_t, int, uintptr_t);
    16  int ioctl(int, int, uintptr_t);
    17  int fcntl(uintptr_t, int, uintptr_t);
    18  int fsync_range(int, int, long long, long long);
    19  int acct(uintptr_t);
    20  int chdir(uintptr_t);
    21  int chroot(uintptr_t);
    22  int close(int);
    23  int dup(int);
    24  void exit(int);
    25  int faccessat(int, uintptr_t, unsigned int, int);
    26  int fchdir(int);
    27  int fchmod(int, unsigned int);
    28  int fchmodat(int, uintptr_t, unsigned int, int);
    29  int fchownat(int, uintptr_t, int, int, int);
    30  int fdatasync(int);
    31  int getpgid(int);
    32  int getpgrp();
    33  int getpid();
    34  int getppid();
    35  int getpriority(int, int);
    36  int getrusage(int, uintptr_t);
    37  int getsid(int);
    38  int kill(int, int);
    39  int syslog(int, uintptr_t, size_t);
    40  int mkdir(int, uintptr_t, unsigned int);
    41  int mkdirat(int, uintptr_t, unsigned int);
    42  int mkfifo(uintptr_t, unsigned int);
    43  int mknod(uintptr_t, unsigned int, int);
    44  int mknodat(int, uintptr_t, unsigned int, int);
    45  int nanosleep(uintptr_t, uintptr_t);
    46  int open64(uintptr_t, int, unsigned int);
    47  int openat(int, uintptr_t, int, unsigned int);
    48  int read(int, uintptr_t, size_t);
    49  int readlink(uintptr_t, uintptr_t, size_t);
    50  int renameat(int, uintptr_t, int, uintptr_t);
    51  int setdomainname(uintptr_t, size_t);
    52  int sethostname(uintptr_t, size_t);
    53  int setpgid(int, int);
    54  int setsid();
    55  int settimeofday(uintptr_t);
    56  int setuid(int);
    57  int setgid(int);
    58  int setpriority(int, int, int);
    59  int statx(int, uintptr_t, int, int, uintptr_t);
    60  int sync();
    61  uintptr_t times(uintptr_t);
    62  int umask(int);
    63  int uname(uintptr_t);
    64  int unlink(uintptr_t);
    65  int unlinkat(int, uintptr_t, int);
    66  int ustat(int, uintptr_t);
    67  int write(int, uintptr_t, size_t);
    68  int dup2(int, int);
    69  int posix_fadvise64(int, long long, long long, int);
    70  int fchown(int, int, int);
    71  int fstat(int, uintptr_t);
    72  int fstatat(int, uintptr_t, uintptr_t, int);
    73  int fstatfs(int, uintptr_t);
    74  int ftruncate(int, long long);
    75  int getegid();
    76  int geteuid();
    77  int getgid();
    78  int getuid();
    79  int lchown(uintptr_t, int, int);
    80  int listen(int, int);
    81  int lstat(uintptr_t, uintptr_t);
    82  int pause();
    83  int pread64(int, uintptr_t, size_t, long long);
    84  int pwrite64(int, uintptr_t, size_t, long long);
    85  #define c_select select
    86  int select(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
    87  int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
    88  int setregid(int, int);
    89  int setreuid(int, int);
    90  int shutdown(int, int);
    91  long long splice(int, uintptr_t, int, uintptr_t, int, int);
    92  int stat(uintptr_t, uintptr_t);
    93  int statfs(uintptr_t, uintptr_t);
    94  int truncate(uintptr_t, long long);
    95  int bind(int, uintptr_t, uintptr_t);
    96  int connect(int, uintptr_t, uintptr_t);
    97  int getgroups(int, uintptr_t);
    98  int setgroups(int, uintptr_t);
    99  int getsockopt(int, int, int, uintptr_t, uintptr_t);
   100  int setsockopt(int, int, int, uintptr_t, uintptr_t);
   101  int socket(int, int, int);
   102  int socketpair(int, int, int, uintptr_t);
   103  int getpeername(int, uintptr_t, uintptr_t);
   104  int getsockname(int, uintptr_t, uintptr_t);
   105  int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
   106  int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
   107  int nrecvmsg(int, uintptr_t, int);
   108  int nsendmsg(int, uintptr_t, int);
   109  int munmap(uintptr_t, uintptr_t);
   110  int madvise(uintptr_t, size_t, int);
   111  int mprotect(uintptr_t, size_t, int);
   112  int mlock(uintptr_t, size_t);
   113  int mlockall(int);
   114  int msync(uintptr_t, size_t, int);
   115  int munlock(uintptr_t, size_t);
   116  int munlockall();
   117  int pipe(uintptr_t);
   118  int poll(uintptr_t, int, int);
   119  int gettimeofday(uintptr_t, uintptr_t);
   120  int time(uintptr_t);
   121  int utime(uintptr_t, uintptr_t);
   122  unsigned long long getsystemcfg(int);
   123  int umount(uintptr_t);
   124  int getrlimit(int, uintptr_t);
   125  long long lseek(int, long long, int);
   126  uintptr_t mmap64(uintptr_t, uintptr_t, int, int, int, long long);
   127  
   128  */
   129  import "C"
   130  import (
   131  	"syscall"
   132  	"unsafe"
   133  )
   134  
   135  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   136  
   137  func callutimes(_p0 uintptr, times uintptr) (r1 uintptr, e1 Errno) {
   138  	r1 = uintptr(C.utimes(C.uintptr_t(_p0), C.uintptr_t(times)))
   139  	e1 = syscall.GetErrno()
   140  	return
   141  }
   142  
   143  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   144  
   145  func callutimensat(dirfd int, _p0 uintptr, times uintptr, flag int) (r1 uintptr, e1 Errno) {
   146  	r1 = uintptr(C.utimensat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(times), C.int(flag)))
   147  	e1 = syscall.GetErrno()
   148  	return
   149  }
   150  
   151  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   152  
   153  func callgetcwd(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
   154  	r1 = uintptr(C.getcwd(C.uintptr_t(_p0), C.size_t(_lenp0)))
   155  	e1 = syscall.GetErrno()
   156  	return
   157  }
   158  
   159  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   160  
   161  func callaccept(s int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
   162  	r1 = uintptr(C.accept(C.int(s), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
   163  	e1 = syscall.GetErrno()
   164  	return
   165  }
   166  
   167  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   168  
   169  func callgetdirent(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
   170  	r1 = uintptr(C.getdirent(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
   171  	e1 = syscall.GetErrno()
   172  	return
   173  }
   174  
   175  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   176  
   177  func callwait4(pid int, status uintptr, options int, rusage uintptr) (r1 uintptr, e1 Errno) {
   178  	r1 = uintptr(C.wait4(C.int(pid), C.uintptr_t(status), C.int(options), C.uintptr_t(rusage)))
   179  	e1 = syscall.GetErrno()
   180  	return
   181  }
   182  
   183  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   184  
   185  func callioctl(fd int, req int, arg uintptr) (r1 uintptr, e1 Errno) {
   186  	r1 = uintptr(C.ioctl(C.int(fd), C.int(req), C.uintptr_t(arg)))
   187  	e1 = syscall.GetErrno()
   188  	return
   189  }
   190  
   191  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   192  
   193  func callioctl_ptr(fd int, req int, arg unsafe.Pointer) (r1 uintptr, e1 Errno) {
   194  	r1 = uintptr(C.ioctl(C.int(fd), C.int(req), C.uintptr_t(uintptr(arg))))
   195  	e1 = syscall.GetErrno()
   196  	return
   197  }
   198  
   199  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   200  
   201  func callfcntl(fd uintptr, cmd int, arg uintptr) (r1 uintptr, e1 Errno) {
   202  	r1 = uintptr(C.fcntl(C.uintptr_t(fd), C.int(cmd), C.uintptr_t(arg)))
   203  	e1 = syscall.GetErrno()
   204  	return
   205  }
   206  
   207  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   208  
   209  func callfsync_range(fd int, how int, start int64, length int64) (r1 uintptr, e1 Errno) {
   210  	r1 = uintptr(C.fsync_range(C.int(fd), C.int(how), C.longlong(start), C.longlong(length)))
   211  	e1 = syscall.GetErrno()
   212  	return
   213  }
   214  
   215  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   216  
   217  func callacct(_p0 uintptr) (r1 uintptr, e1 Errno) {
   218  	r1 = uintptr(C.acct(C.uintptr_t(_p0)))
   219  	e1 = syscall.GetErrno()
   220  	return
   221  }
   222  
   223  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   224  
   225  func callchdir(_p0 uintptr) (r1 uintptr, e1 Errno) {
   226  	r1 = uintptr(C.chdir(C.uintptr_t(_p0)))
   227  	e1 = syscall.GetErrno()
   228  	return
   229  }
   230  
   231  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   232  
   233  func callchroot(_p0 uintptr) (r1 uintptr, e1 Errno) {
   234  	r1 = uintptr(C.chroot(C.uintptr_t(_p0)))
   235  	e1 = syscall.GetErrno()
   236  	return
   237  }
   238  
   239  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   240  
   241  func callclose(fd int) (r1 uintptr, e1 Errno) {
   242  	r1 = uintptr(C.close(C.int(fd)))
   243  	e1 = syscall.GetErrno()
   244  	return
   245  }
   246  
   247  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   248  
   249  func calldup(oldfd int) (r1 uintptr, e1 Errno) {
   250  	r1 = uintptr(C.dup(C.int(oldfd)))
   251  	e1 = syscall.GetErrno()
   252  	return
   253  }
   254  
   255  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   256  
   257  func callexit(code int) (r1 uintptr, e1 Errno) {
   258  	r1 = uintptr(C.exit(C.int(code)))
   259  	e1 = syscall.GetErrno()
   260  	return
   261  }
   262  
   263  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   264  
   265  func callfaccessat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
   266  	r1 = uintptr(C.faccessat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags)))
   267  	e1 = syscall.GetErrno()
   268  	return
   269  }
   270  
   271  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   272  
   273  func callfchdir(fd int) (r1 uintptr, e1 Errno) {
   274  	r1 = uintptr(C.fchdir(C.int(fd)))
   275  	e1 = syscall.GetErrno()
   276  	return
   277  }
   278  
   279  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   280  
   281  func callfchmod(fd int, mode uint32) (r1 uintptr, e1 Errno) {
   282  	r1 = uintptr(C.fchmod(C.int(fd), C.uint(mode)))
   283  	e1 = syscall.GetErrno()
   284  	return
   285  }
   286  
   287  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   288  
   289  func callfchmodat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
   290  	r1 = uintptr(C.fchmodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags)))
   291  	e1 = syscall.GetErrno()
   292  	return
   293  }
   294  
   295  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   296  
   297  func callfchownat(dirfd int, _p0 uintptr, uid int, gid int, flags int) (r1 uintptr, e1 Errno) {
   298  	r1 = uintptr(C.fchownat(C.int(dirfd), C.uintptr_t(_p0), C.int(uid), C.int(gid), C.int(flags)))
   299  	e1 = syscall.GetErrno()
   300  	return
   301  }
   302  
   303  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   304  
   305  func callfdatasync(fd int) (r1 uintptr, e1 Errno) {
   306  	r1 = uintptr(C.fdatasync(C.int(fd)))
   307  	e1 = syscall.GetErrno()
   308  	return
   309  }
   310  
   311  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   312  
   313  func callgetpgid(pid int) (r1 uintptr, e1 Errno) {
   314  	r1 = uintptr(C.getpgid(C.int(pid)))
   315  	e1 = syscall.GetErrno()
   316  	return
   317  }
   318  
   319  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   320  
   321  func callgetpgrp() (r1 uintptr, e1 Errno) {
   322  	r1 = uintptr(C.getpgrp())
   323  	e1 = syscall.GetErrno()
   324  	return
   325  }
   326  
   327  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   328  
   329  func callgetpid() (r1 uintptr, e1 Errno) {
   330  	r1 = uintptr(C.getpid())
   331  	e1 = syscall.GetErrno()
   332  	return
   333  }
   334  
   335  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   336  
   337  func callgetppid() (r1 uintptr, e1 Errno) {
   338  	r1 = uintptr(C.getppid())
   339  	e1 = syscall.GetErrno()
   340  	return
   341  }
   342  
   343  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   344  
   345  func callgetpriority(which int, who int) (r1 uintptr, e1 Errno) {
   346  	r1 = uintptr(C.getpriority(C.int(which), C.int(who)))
   347  	e1 = syscall.GetErrno()
   348  	return
   349  }
   350  
   351  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   352  
   353  func callgetrusage(who int, rusage uintptr) (r1 uintptr, e1 Errno) {
   354  	r1 = uintptr(C.getrusage(C.int(who), C.uintptr_t(rusage)))
   355  	e1 = syscall.GetErrno()
   356  	return
   357  }
   358  
   359  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   360  
   361  func callgetsid(pid int) (r1 uintptr, e1 Errno) {
   362  	r1 = uintptr(C.getsid(C.int(pid)))
   363  	e1 = syscall.GetErrno()
   364  	return
   365  }
   366  
   367  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   368  
   369  func callkill(pid int, sig int) (r1 uintptr, e1 Errno) {
   370  	r1 = uintptr(C.kill(C.int(pid), C.int(sig)))
   371  	e1 = syscall.GetErrno()
   372  	return
   373  }
   374  
   375  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   376  
   377  func callsyslog(typ int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
   378  	r1 = uintptr(C.syslog(C.int(typ), C.uintptr_t(_p0), C.size_t(_lenp0)))
   379  	e1 = syscall.GetErrno()
   380  	return
   381  }
   382  
   383  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   384  
   385  func callmkdir(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
   386  	r1 = uintptr(C.mkdir(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode)))
   387  	e1 = syscall.GetErrno()
   388  	return
   389  }
   390  
   391  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   392  
   393  func callmkdirat(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
   394  	r1 = uintptr(C.mkdirat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode)))
   395  	e1 = syscall.GetErrno()
   396  	return
   397  }
   398  
   399  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   400  
   401  func callmkfifo(_p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
   402  	r1 = uintptr(C.mkfifo(C.uintptr_t(_p0), C.uint(mode)))
   403  	e1 = syscall.GetErrno()
   404  	return
   405  }
   406  
   407  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   408  
   409  func callmknod(_p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
   410  	r1 = uintptr(C.mknod(C.uintptr_t(_p0), C.uint(mode), C.int(dev)))
   411  	e1 = syscall.GetErrno()
   412  	return
   413  }
   414  
   415  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   416  
   417  func callmknodat(dirfd int, _p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
   418  	r1 = uintptr(C.mknodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(dev)))
   419  	e1 = syscall.GetErrno()
   420  	return
   421  }
   422  
   423  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   424  
   425  func callnanosleep(time uintptr, leftover uintptr) (r1 uintptr, e1 Errno) {
   426  	r1 = uintptr(C.nanosleep(C.uintptr_t(time), C.uintptr_t(leftover)))
   427  	e1 = syscall.GetErrno()
   428  	return
   429  }
   430  
   431  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   432  
   433  func callopen64(_p0 uintptr, mode int, perm uint32) (r1 uintptr, e1 Errno) {
   434  	r1 = uintptr(C.open64(C.uintptr_t(_p0), C.int(mode), C.uint(perm)))
   435  	e1 = syscall.GetErrno()
   436  	return
   437  }
   438  
   439  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   440  
   441  func callopenat(dirfd int, _p0 uintptr, flags int, mode uint32) (r1 uintptr, e1 Errno) {
   442  	r1 = uintptr(C.openat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.uint(mode)))
   443  	e1 = syscall.GetErrno()
   444  	return
   445  }
   446  
   447  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   448  
   449  func callread(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
   450  	r1 = uintptr(C.read(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
   451  	e1 = syscall.GetErrno()
   452  	return
   453  }
   454  
   455  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   456  
   457  func callreadlink(_p0 uintptr, _p1 uintptr, _lenp1 int) (r1 uintptr, e1 Errno) {
   458  	r1 = uintptr(C.readlink(C.uintptr_t(_p0), C.uintptr_t(_p1), C.size_t(_lenp1)))
   459  	e1 = syscall.GetErrno()
   460  	return
   461  }
   462  
   463  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   464  
   465  func callrenameat(olddirfd int, _p0 uintptr, newdirfd int, _p1 uintptr) (r1 uintptr, e1 Errno) {
   466  	r1 = uintptr(C.renameat(C.int(olddirfd), C.uintptr_t(_p0), C.int(newdirfd), C.uintptr_t(_p1)))
   467  	e1 = syscall.GetErrno()
   468  	return
   469  }
   470  
   471  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   472  
   473  func callsetdomainname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
   474  	r1 = uintptr(C.setdomainname(C.uintptr_t(_p0), C.size_t(_lenp0)))
   475  	e1 = syscall.GetErrno()
   476  	return
   477  }
   478  
   479  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   480  
   481  func callsethostname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
   482  	r1 = uintptr(C.sethostname(C.uintptr_t(_p0), C.size_t(_lenp0)))
   483  	e1 = syscall.GetErrno()
   484  	return
   485  }
   486  
   487  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   488  
   489  func callsetpgid(pid int, pgid int) (r1 uintptr, e1 Errno) {
   490  	r1 = uintptr(C.setpgid(C.int(pid), C.int(pgid)))
   491  	e1 = syscall.GetErrno()
   492  	return
   493  }
   494  
   495  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   496  
   497  func callsetsid() (r1 uintptr, e1 Errno) {
   498  	r1 = uintptr(C.setsid())
   499  	e1 = syscall.GetErrno()
   500  	return
   501  }
   502  
   503  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   504  
   505  func callsettimeofday(tv uintptr) (r1 uintptr, e1 Errno) {
   506  	r1 = uintptr(C.settimeofday(C.uintptr_t(tv)))
   507  	e1 = syscall.GetErrno()
   508  	return
   509  }
   510  
   511  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   512  
   513  func callsetuid(uid int) (r1 uintptr, e1 Errno) {
   514  	r1 = uintptr(C.setuid(C.int(uid)))
   515  	e1 = syscall.GetErrno()
   516  	return
   517  }
   518  
   519  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   520  
   521  func callsetgid(uid int) (r1 uintptr, e1 Errno) {
   522  	r1 = uintptr(C.setgid(C.int(uid)))
   523  	e1 = syscall.GetErrno()
   524  	return
   525  }
   526  
   527  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   528  
   529  func callsetpriority(which int, who int, prio int) (r1 uintptr, e1 Errno) {
   530  	r1 = uintptr(C.setpriority(C.int(which), C.int(who), C.int(prio)))
   531  	e1 = syscall.GetErrno()
   532  	return
   533  }
   534  
   535  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   536  
   537  func callstatx(dirfd int, _p0 uintptr, flags int, mask int, stat uintptr) (r1 uintptr, e1 Errno) {
   538  	r1 = uintptr(C.statx(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.int(mask), C.uintptr_t(stat)))
   539  	e1 = syscall.GetErrno()
   540  	return
   541  }
   542  
   543  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   544  
   545  func callsync() (r1 uintptr, e1 Errno) {
   546  	r1 = uintptr(C.sync())
   547  	e1 = syscall.GetErrno()
   548  	return
   549  }
   550  
   551  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   552  
   553  func calltimes(tms uintptr) (r1 uintptr, e1 Errno) {
   554  	r1 = uintptr(C.times(C.uintptr_t(tms)))
   555  	e1 = syscall.GetErrno()
   556  	return
   557  }
   558  
   559  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   560  
   561  func callumask(mask int) (r1 uintptr, e1 Errno) {
   562  	r1 = uintptr(C.umask(C.int(mask)))
   563  	e1 = syscall.GetErrno()
   564  	return
   565  }
   566  
   567  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   568  
   569  func calluname(buf uintptr) (r1 uintptr, e1 Errno) {
   570  	r1 = uintptr(C.uname(C.uintptr_t(buf)))
   571  	e1 = syscall.GetErrno()
   572  	return
   573  }
   574  
   575  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   576  
   577  func callunlink(_p0 uintptr) (r1 uintptr, e1 Errno) {
   578  	r1 = uintptr(C.unlink(C.uintptr_t(_p0)))
   579  	e1 = syscall.GetErrno()
   580  	return
   581  }
   582  
   583  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   584  
   585  func callunlinkat(dirfd int, _p0 uintptr, flags int) (r1 uintptr, e1 Errno) {
   586  	r1 = uintptr(C.unlinkat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags)))
   587  	e1 = syscall.GetErrno()
   588  	return
   589  }
   590  
   591  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   592  
   593  func callustat(dev int, ubuf uintptr) (r1 uintptr, e1 Errno) {
   594  	r1 = uintptr(C.ustat(C.int(dev), C.uintptr_t(ubuf)))
   595  	e1 = syscall.GetErrno()
   596  	return
   597  }
   598  
   599  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   600  
   601  func callwrite(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
   602  	r1 = uintptr(C.write(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
   603  	e1 = syscall.GetErrno()
   604  	return
   605  }
   606  
   607  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   608  
   609  func calldup2(oldfd int, newfd int) (r1 uintptr, e1 Errno) {
   610  	r1 = uintptr(C.dup2(C.int(oldfd), C.int(newfd)))
   611  	e1 = syscall.GetErrno()
   612  	return
   613  }
   614  
   615  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   616  
   617  func callposix_fadvise64(fd int, offset int64, length int64, advice int) (r1 uintptr, e1 Errno) {
   618  	r1 = uintptr(C.posix_fadvise64(C.int(fd), C.longlong(offset), C.longlong(length), C.int(advice)))
   619  	e1 = syscall.GetErrno()
   620  	return
   621  }
   622  
   623  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   624  
   625  func callfchown(fd int, uid int, gid int) (r1 uintptr, e1 Errno) {
   626  	r1 = uintptr(C.fchown(C.int(fd), C.int(uid), C.int(gid)))
   627  	e1 = syscall.GetErrno()
   628  	return
   629  }
   630  
   631  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   632  
   633  func callfstat(fd int, stat uintptr) (r1 uintptr, e1 Errno) {
   634  	r1 = uintptr(C.fstat(C.int(fd), C.uintptr_t(stat)))
   635  	e1 = syscall.GetErrno()
   636  	return
   637  }
   638  
   639  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   640  
   641  func callfstatat(dirfd int, _p0 uintptr, stat uintptr, flags int) (r1 uintptr, e1 Errno) {
   642  	r1 = uintptr(C.fstatat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(stat), C.int(flags)))
   643  	e1 = syscall.GetErrno()
   644  	return
   645  }
   646  
   647  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   648  
   649  func callfstatfs(fd int, buf uintptr) (r1 uintptr, e1 Errno) {
   650  	r1 = uintptr(C.fstatfs(C.int(fd), C.uintptr_t(buf)))
   651  	e1 = syscall.GetErrno()
   652  	return
   653  }
   654  
   655  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   656  
   657  func callftruncate(fd int, length int64) (r1 uintptr, e1 Errno) {
   658  	r1 = uintptr(C.ftruncate(C.int(fd), C.longlong(length)))
   659  	e1 = syscall.GetErrno()
   660  	return
   661  }
   662  
   663  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   664  
   665  func callgetegid() (r1 uintptr, e1 Errno) {
   666  	r1 = uintptr(C.getegid())
   667  	e1 = syscall.GetErrno()
   668  	return
   669  }
   670  
   671  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   672  
   673  func callgeteuid() (r1 uintptr, e1 Errno) {
   674  	r1 = uintptr(C.geteuid())
   675  	e1 = syscall.GetErrno()
   676  	return
   677  }
   678  
   679  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   680  
   681  func callgetgid() (r1 uintptr, e1 Errno) {
   682  	r1 = uintptr(C.getgid())
   683  	e1 = syscall.GetErrno()
   684  	return
   685  }
   686  
   687  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   688  
   689  func callgetuid() (r1 uintptr, e1 Errno) {
   690  	r1 = uintptr(C.getuid())
   691  	e1 = syscall.GetErrno()
   692  	return
   693  }
   694  
   695  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   696  
   697  func calllchown(_p0 uintptr, uid int, gid int) (r1 uintptr, e1 Errno) {
   698  	r1 = uintptr(C.lchown(C.uintptr_t(_p0), C.int(uid), C.int(gid)))
   699  	e1 = syscall.GetErrno()
   700  	return
   701  }
   702  
   703  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   704  
   705  func calllisten(s int, n int) (r1 uintptr, e1 Errno) {
   706  	r1 = uintptr(C.listen(C.int(s), C.int(n)))
   707  	e1 = syscall.GetErrno()
   708  	return
   709  }
   710  
   711  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   712  
   713  func calllstat(_p0 uintptr, stat uintptr) (r1 uintptr, e1 Errno) {
   714  	r1 = uintptr(C.lstat(C.uintptr_t(_p0), C.uintptr_t(stat)))
   715  	e1 = syscall.GetErrno()
   716  	return
   717  }
   718  
   719  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   720  
   721  func callpause() (r1 uintptr, e1 Errno) {
   722  	r1 = uintptr(C.pause())
   723  	e1 = syscall.GetErrno()
   724  	return
   725  }
   726  
   727  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   728  
   729  func callpread64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
   730  	r1 = uintptr(C.pread64(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.longlong(offset)))
   731  	e1 = syscall.GetErrno()
   732  	return
   733  }
   734  
   735  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   736  
   737  func callpwrite64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
   738  	r1 = uintptr(C.pwrite64(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.longlong(offset)))
   739  	e1 = syscall.GetErrno()
   740  	return
   741  }
   742  
   743  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   744  
   745  func callselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr) (r1 uintptr, e1 Errno) {
   746  	r1 = uintptr(C.c_select(C.int(nfd), C.uintptr_t(r), C.uintptr_t(w), C.uintptr_t(e), C.uintptr_t(timeout)))
   747  	e1 = syscall.GetErrno()
   748  	return
   749  }
   750  
   751  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   752  
   753  func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) {
   754  	r1 = uintptr(C.pselect(C.int(nfd), C.uintptr_t(r), C.uintptr_t(w), C.uintptr_t(e), C.uintptr_t(timeout), C.uintptr_t(sigmask)))
   755  	e1 = syscall.GetErrno()
   756  	return
   757  }
   758  
   759  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   760  
   761  func callsetregid(rgid int, egid int) (r1 uintptr, e1 Errno) {
   762  	r1 = uintptr(C.setregid(C.int(rgid), C.int(egid)))
   763  	e1 = syscall.GetErrno()
   764  	return
   765  }
   766  
   767  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   768  
   769  func callsetreuid(ruid int, euid int) (r1 uintptr, e1 Errno) {
   770  	r1 = uintptr(C.setreuid(C.int(ruid), C.int(euid)))
   771  	e1 = syscall.GetErrno()
   772  	return
   773  }
   774  
   775  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   776  
   777  func callshutdown(fd int, how int) (r1 uintptr, e1 Errno) {
   778  	r1 = uintptr(C.shutdown(C.int(fd), C.int(how)))
   779  	e1 = syscall.GetErrno()
   780  	return
   781  }
   782  
   783  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   784  
   785  func callsplice(rfd int, roff uintptr, wfd int, woff uintptr, len int, flags int) (r1 uintptr, e1 Errno) {
   786  	r1 = uintptr(C.splice(C.int(rfd), C.uintptr_t(roff), C.int(wfd), C.uintptr_t(woff), C.int(len), C.int(flags)))
   787  	e1 = syscall.GetErrno()
   788  	return
   789  }
   790  
   791  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   792  
   793  func callstat(_p0 uintptr, statptr uintptr) (r1 uintptr, e1 Errno) {
   794  	r1 = uintptr(C.stat(C.uintptr_t(_p0), C.uintptr_t(statptr)))
   795  	e1 = syscall.GetErrno()
   796  	return
   797  }
   798  
   799  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   800  
   801  func callstatfs(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
   802  	r1 = uintptr(C.statfs(C.uintptr_t(_p0), C.uintptr_t(buf)))
   803  	e1 = syscall.GetErrno()
   804  	return
   805  }
   806  
   807  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   808  
   809  func calltruncate(_p0 uintptr, length int64) (r1 uintptr, e1 Errno) {
   810  	r1 = uintptr(C.truncate(C.uintptr_t(_p0), C.longlong(length)))
   811  	e1 = syscall.GetErrno()
   812  	return
   813  }
   814  
   815  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   816  
   817  func callbind(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
   818  	r1 = uintptr(C.bind(C.int(s), C.uintptr_t(addr), C.uintptr_t(addrlen)))
   819  	e1 = syscall.GetErrno()
   820  	return
   821  }
   822  
   823  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   824  
   825  func callconnect(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
   826  	r1 = uintptr(C.connect(C.int(s), C.uintptr_t(addr), C.uintptr_t(addrlen)))
   827  	e1 = syscall.GetErrno()
   828  	return
   829  }
   830  
   831  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   832  
   833  func callgetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
   834  	r1 = uintptr(C.getgroups(C.int(n), C.uintptr_t(list)))
   835  	e1 = syscall.GetErrno()
   836  	return
   837  }
   838  
   839  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   840  
   841  func callsetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
   842  	r1 = uintptr(C.setgroups(C.int(n), C.uintptr_t(list)))
   843  	e1 = syscall.GetErrno()
   844  	return
   845  }
   846  
   847  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   848  
   849  func callgetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
   850  	r1 = uintptr(C.getsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(val), C.uintptr_t(vallen)))
   851  	e1 = syscall.GetErrno()
   852  	return
   853  }
   854  
   855  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   856  
   857  func callsetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
   858  	r1 = uintptr(C.setsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(val), C.uintptr_t(vallen)))
   859  	e1 = syscall.GetErrno()
   860  	return
   861  }
   862  
   863  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   864  
   865  func callsocket(domain int, typ int, proto int) (r1 uintptr, e1 Errno) {
   866  	r1 = uintptr(C.socket(C.int(domain), C.int(typ), C.int(proto)))
   867  	e1 = syscall.GetErrno()
   868  	return
   869  }
   870  
   871  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   872  
   873  func callsocketpair(domain int, typ int, proto int, fd uintptr) (r1 uintptr, e1 Errno) {
   874  	r1 = uintptr(C.socketpair(C.int(domain), C.int(typ), C.int(proto), C.uintptr_t(fd)))
   875  	e1 = syscall.GetErrno()
   876  	return
   877  }
   878  
   879  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   880  
   881  func callgetpeername(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
   882  	r1 = uintptr(C.getpeername(C.int(fd), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
   883  	e1 = syscall.GetErrno()
   884  	return
   885  }
   886  
   887  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   888  
   889  func callgetsockname(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
   890  	r1 = uintptr(C.getsockname(C.int(fd), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
   891  	e1 = syscall.GetErrno()
   892  	return
   893  }
   894  
   895  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   896  
   897  func callrecvfrom(fd int, _p0 uintptr, _lenp0 int, flags int, from uintptr, fromlen uintptr) (r1 uintptr, e1 Errno) {
   898  	r1 = uintptr(C.recvfrom(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags), C.uintptr_t(from), C.uintptr_t(fromlen)))
   899  	e1 = syscall.GetErrno()
   900  	return
   901  }
   902  
   903  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   904  
   905  func callsendto(s int, _p0 uintptr, _lenp0 int, flags int, to uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
   906  	r1 = uintptr(C.sendto(C.int(s), C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags), C.uintptr_t(to), C.uintptr_t(addrlen)))
   907  	e1 = syscall.GetErrno()
   908  	return
   909  }
   910  
   911  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   912  
   913  func callnrecvmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
   914  	r1 = uintptr(C.nrecvmsg(C.int(s), C.uintptr_t(msg), C.int(flags)))
   915  	e1 = syscall.GetErrno()
   916  	return
   917  }
   918  
   919  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   920  
   921  func callnsendmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
   922  	r1 = uintptr(C.nsendmsg(C.int(s), C.uintptr_t(msg), C.int(flags)))
   923  	e1 = syscall.GetErrno()
   924  	return
   925  }
   926  
   927  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   928  
   929  func callmunmap(addr uintptr, length uintptr) (r1 uintptr, e1 Errno) {
   930  	r1 = uintptr(C.munmap(C.uintptr_t(addr), C.uintptr_t(length)))
   931  	e1 = syscall.GetErrno()
   932  	return
   933  }
   934  
   935  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   936  
   937  func callmadvise(_p0 uintptr, _lenp0 int, advice int) (r1 uintptr, e1 Errno) {
   938  	r1 = uintptr(C.madvise(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(advice)))
   939  	e1 = syscall.GetErrno()
   940  	return
   941  }
   942  
   943  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   944  
   945  func callmprotect(_p0 uintptr, _lenp0 int, prot int) (r1 uintptr, e1 Errno) {
   946  	r1 = uintptr(C.mprotect(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(prot)))
   947  	e1 = syscall.GetErrno()
   948  	return
   949  }
   950  
   951  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   952  
   953  func callmlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
   954  	r1 = uintptr(C.mlock(C.uintptr_t(_p0), C.size_t(_lenp0)))
   955  	e1 = syscall.GetErrno()
   956  	return
   957  }
   958  
   959  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   960  
   961  func callmlockall(flags int) (r1 uintptr, e1 Errno) {
   962  	r1 = uintptr(C.mlockall(C.int(flags)))
   963  	e1 = syscall.GetErrno()
   964  	return
   965  }
   966  
   967  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   968  
   969  func callmsync(_p0 uintptr, _lenp0 int, flags int) (r1 uintptr, e1 Errno) {
   970  	r1 = uintptr(C.msync(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags)))
   971  	e1 = syscall.GetErrno()
   972  	return
   973  }
   974  
   975  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   976  
   977  func callmunlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
   978  	r1 = uintptr(C.munlock(C.uintptr_t(_p0), C.size_t(_lenp0)))
   979  	e1 = syscall.GetErrno()
   980  	return
   981  }
   982  
   983  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   984  
   985  func callmunlockall() (r1 uintptr, e1 Errno) {
   986  	r1 = uintptr(C.munlockall())
   987  	e1 = syscall.GetErrno()
   988  	return
   989  }
   990  
   991  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   992  
   993  func callpipe(p uintptr) (r1 uintptr, e1 Errno) {
   994  	r1 = uintptr(C.pipe(C.uintptr_t(p)))
   995  	e1 = syscall.GetErrno()
   996  	return
   997  }
   998  
   999  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1000  
  1001  func callpoll(fds uintptr, nfds int, timeout int) (r1 uintptr, e1 Errno) {
  1002  	r1 = uintptr(C.poll(C.uintptr_t(fds), C.int(nfds), C.int(timeout)))
  1003  	e1 = syscall.GetErrno()
  1004  	return
  1005  }
  1006  
  1007  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1008  
  1009  func callgettimeofday(tv uintptr, tzp uintptr) (r1 uintptr, e1 Errno) {
  1010  	r1 = uintptr(C.gettimeofday(C.uintptr_t(tv), C.uintptr_t(tzp)))
  1011  	e1 = syscall.GetErrno()
  1012  	return
  1013  }
  1014  
  1015  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1016  
  1017  func calltime(t uintptr) (r1 uintptr, e1 Errno) {
  1018  	r1 = uintptr(C.time(C.uintptr_t(t)))
  1019  	e1 = syscall.GetErrno()
  1020  	return
  1021  }
  1022  
  1023  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1024  
  1025  func callutime(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
  1026  	r1 = uintptr(C.utime(C.uintptr_t(_p0), C.uintptr_t(buf)))
  1027  	e1 = syscall.GetErrno()
  1028  	return
  1029  }
  1030  
  1031  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1032  
  1033  func callgetsystemcfg(label int) (r1 uintptr, e1 Errno) {
  1034  	r1 = uintptr(C.getsystemcfg(C.int(label)))
  1035  	e1 = syscall.GetErrno()
  1036  	return
  1037  }
  1038  
  1039  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1040  
  1041  func callumount(_p0 uintptr) (r1 uintptr, e1 Errno) {
  1042  	r1 = uintptr(C.umount(C.uintptr_t(_p0)))
  1043  	e1 = syscall.GetErrno()
  1044  	return
  1045  }
  1046  
  1047  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1048  
  1049  func callgetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
  1050  	r1 = uintptr(C.getrlimit(C.int(resource), C.uintptr_t(rlim)))
  1051  	e1 = syscall.GetErrno()
  1052  	return
  1053  }
  1054  
  1055  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1056  
  1057  func calllseek(fd int, offset int64, whence int) (r1 uintptr, e1 Errno) {
  1058  	r1 = uintptr(C.lseek(C.int(fd), C.longlong(offset), C.int(whence)))
  1059  	e1 = syscall.GetErrno()
  1060  	return
  1061  }
  1062  
  1063  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1064  
  1065  func callmmap64(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (r1 uintptr, e1 Errno) {
  1066  	r1 = uintptr(C.mmap64(C.uintptr_t(addr), C.uintptr_t(length), C.int(prot), C.int(flags), C.int(fd), C.longlong(offset)))
  1067  	e1 = syscall.GetErrno()
  1068  	return
  1069  }
  1070  

View as plain text