Black Lives Matter. Support the Equal Justice Initiative.

Source file src/syscall/zsyscall_linux_arm.go

Documentation: syscall

     1  // mksyscall.pl -l32 -arm -tags linux,arm syscall_linux.go syscall_linux_arm.go
     2  // Code generated by the command above; DO NOT EDIT.
     3  
     4  // +build linux,arm
     5  
     6  package syscall
     7  
     8  import "unsafe"
     9  
    10  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    11  
    12  func faccessat(dirfd int, path string, mode uint32) (err error) {
    13  	var _p0 *byte
    14  	_p0, err = BytePtrFromString(path)
    15  	if err != nil {
    16  		return
    17  	}
    18  	_, _, e1 := Syscall(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
    19  	if e1 != 0 {
    20  		err = errnoErr(e1)
    21  	}
    22  	return
    23  }
    24  
    25  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    26  
    27  func fchmodat(dirfd int, path string, mode uint32) (err error) {
    28  	var _p0 *byte
    29  	_p0, err = BytePtrFromString(path)
    30  	if err != nil {
    31  		return
    32  	}
    33  	_, _, e1 := Syscall(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
    34  	if e1 != 0 {
    35  		err = errnoErr(e1)
    36  	}
    37  	return
    38  }
    39  
    40  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    41  
    42  func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
    43  	var _p0 *byte
    44  	_p0, err = BytePtrFromString(oldpath)
    45  	if err != nil {
    46  		return
    47  	}
    48  	var _p1 *byte
    49  	_p1, err = BytePtrFromString(newpath)
    50  	if err != nil {
    51  		return
    52  	}
    53  	_, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
    54  	if e1 != 0 {
    55  		err = errnoErr(e1)
    56  	}
    57  	return
    58  }
    59  
    60  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    61  
    62  func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
    63  	var _p0 *byte
    64  	_p0, err = BytePtrFromString(path)
    65  	if err != nil {
    66  		return
    67  	}
    68  	r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
    69  	fd = int(r0)
    70  	if e1 != 0 {
    71  		err = errnoErr(e1)
    72  	}
    73  	return
    74  }
    75  
    76  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    77  
    78  func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
    79  	var _p0 *byte
    80  	_p0, err = BytePtrFromString(path)
    81  	if err != nil {
    82  		return
    83  	}
    84  	var _p1 unsafe.Pointer
    85  	if len(buf) > 0 {
    86  		_p1 = unsafe.Pointer(&buf[0])
    87  	} else {
    88  		_p1 = unsafe.Pointer(&_zero)
    89  	}
    90  	r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
    91  	n = int(r0)
    92  	if e1 != 0 {
    93  		err = errnoErr(e1)
    94  	}
    95  	return
    96  }
    97  
    98  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    99  
   100  func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
   101  	var _p0 *byte
   102  	_p0, err = BytePtrFromString(oldpath)
   103  	if err != nil {
   104  		return
   105  	}
   106  	var _p1 *byte
   107  	_p1, err = BytePtrFromString(newpath)
   108  	if err != nil {
   109  		return
   110  	}
   111  	_, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
   112  	if e1 != 0 {
   113  		err = errnoErr(e1)
   114  	}
   115  	return
   116  }
   117  
   118  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   119  
   120  func unlinkat(dirfd int, path string, flags int) (err error) {
   121  	var _p0 *byte
   122  	_p0, err = BytePtrFromString(path)
   123  	if err != nil {
   124  		return
   125  	}
   126  	_, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
   127  	if e1 != 0 {
   128  		err = errnoErr(e1)
   129  	}
   130  	return
   131  }
   132  
   133  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   134  
   135  func utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error) {
   136  	var _p0 *byte
   137  	_p0, err = BytePtrFromString(path)
   138  	if err != nil {
   139  		return
   140  	}
   141  	_, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flag), 0, 0)
   142  	if e1 != 0 {
   143  		err = errnoErr(e1)
   144  	}
   145  	return
   146  }
   147  
   148  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   149  
   150  func Getcwd(buf []byte) (n int, err error) {
   151  	var _p0 unsafe.Pointer
   152  	if len(buf) > 0 {
   153  		_p0 = unsafe.Pointer(&buf[0])
   154  	} else {
   155  		_p0 = unsafe.Pointer(&_zero)
   156  	}
   157  	r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
   158  	n = int(r0)
   159  	if e1 != 0 {
   160  		err = errnoErr(e1)
   161  	}
   162  	return
   163  }
   164  
   165  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   166  
   167  func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
   168  	r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
   169  	wpid = int(r0)
   170  	if e1 != 0 {
   171  		err = errnoErr(e1)
   172  	}
   173  	return
   174  }
   175  
   176  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   177  
   178  func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
   179  	_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
   180  	if e1 != 0 {
   181  		err = errnoErr(e1)
   182  	}
   183  	return
   184  }
   185  
   186  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   187  
   188  func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
   189  	var _p0 *byte
   190  	_p0, err = BytePtrFromString(arg)
   191  	if err != nil {
   192  		return
   193  	}
   194  	_, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
   195  	if e1 != 0 {
   196  		err = errnoErr(e1)
   197  	}
   198  	return
   199  }
   200  
   201  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   202  
   203  func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
   204  	var _p0 *byte
   205  	_p0, err = BytePtrFromString(source)
   206  	if err != nil {
   207  		return
   208  	}
   209  	var _p1 *byte
   210  	_p1, err = BytePtrFromString(target)
   211  	if err != nil {
   212  		return
   213  	}
   214  	var _p2 *byte
   215  	_p2, err = BytePtrFromString(fstype)
   216  	if err != nil {
   217  		return
   218  	}
   219  	_, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
   220  	if e1 != 0 {
   221  		err = errnoErr(e1)
   222  	}
   223  	return
   224  }
   225  
   226  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   227  
   228  func Acct(path string) (err error) {
   229  	var _p0 *byte
   230  	_p0, err = BytePtrFromString(path)
   231  	if err != nil {
   232  		return
   233  	}
   234  	_, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
   235  	if e1 != 0 {
   236  		err = errnoErr(e1)
   237  	}
   238  	return
   239  }
   240  
   241  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   242  
   243  func Adjtimex(buf *Timex) (state int, err error) {
   244  	r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
   245  	state = int(r0)
   246  	if e1 != 0 {
   247  		err = errnoErr(e1)
   248  	}
   249  	return
   250  }
   251  
   252  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   253  
   254  func Chdir(path string) (err error) {
   255  	var _p0 *byte
   256  	_p0, err = BytePtrFromString(path)
   257  	if err != nil {
   258  		return
   259  	}
   260  	_, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
   261  	if e1 != 0 {
   262  		err = errnoErr(e1)
   263  	}
   264  	return
   265  }
   266  
   267  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   268  
   269  func Chroot(path string) (err error) {
   270  	var _p0 *byte
   271  	_p0, err = BytePtrFromString(path)
   272  	if err != nil {
   273  		return
   274  	}
   275  	_, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
   276  	if e1 != 0 {
   277  		err = errnoErr(e1)
   278  	}
   279  	return
   280  }
   281  
   282  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   283  
   284  func Close(fd int) (err error) {
   285  	_, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
   286  	if e1 != 0 {
   287  		err = errnoErr(e1)
   288  	}
   289  	return
   290  }
   291  
   292  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   293  
   294  func Dup(oldfd int) (fd int, err error) {
   295  	r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
   296  	fd = int(r0)
   297  	if e1 != 0 {
   298  		err = errnoErr(e1)
   299  	}
   300  	return
   301  }
   302  
   303  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   304  
   305  func Dup3(oldfd int, newfd int, flags int) (err error) {
   306  	_, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
   307  	if e1 != 0 {
   308  		err = errnoErr(e1)
   309  	}
   310  	return
   311  }
   312  
   313  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   314  
   315  func EpollCreate1(flag int) (fd int, err error) {
   316  	r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
   317  	fd = int(r0)
   318  	if e1 != 0 {
   319  		err = errnoErr(e1)
   320  	}
   321  	return
   322  }
   323  
   324  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   325  
   326  func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
   327  	_, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
   328  	if e1 != 0 {
   329  		err = errnoErr(e1)
   330  	}
   331  	return
   332  }
   333  
   334  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   335  
   336  func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
   337  	_, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
   338  	if e1 != 0 {
   339  		err = errnoErr(e1)
   340  	}
   341  	return
   342  }
   343  
   344  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   345  
   346  func Fchdir(fd int) (err error) {
   347  	_, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
   348  	if e1 != 0 {
   349  		err = errnoErr(e1)
   350  	}
   351  	return
   352  }
   353  
   354  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   355  
   356  func Fchmod(fd int, mode uint32) (err error) {
   357  	_, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
   358  	if e1 != 0 {
   359  		err = errnoErr(e1)
   360  	}
   361  	return
   362  }
   363  
   364  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   365  
   366  func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
   367  	var _p0 *byte
   368  	_p0, err = BytePtrFromString(path)
   369  	if err != nil {
   370  		return
   371  	}
   372  	_, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
   373  	if e1 != 0 {
   374  		err = errnoErr(e1)
   375  	}
   376  	return
   377  }
   378  
   379  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   380  
   381  func fcntl(fd int, cmd int, arg int) (val int, err error) {
   382  	r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
   383  	val = int(r0)
   384  	if e1 != 0 {
   385  		err = errnoErr(e1)
   386  	}
   387  	return
   388  }
   389  
   390  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   391  
   392  func Fdatasync(fd int) (err error) {
   393  	_, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
   394  	if e1 != 0 {
   395  		err = errnoErr(e1)
   396  	}
   397  	return
   398  }
   399  
   400  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   401  
   402  func Flock(fd int, how int) (err error) {
   403  	_, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
   404  	if e1 != 0 {
   405  		err = errnoErr(e1)
   406  	}
   407  	return
   408  }
   409  
   410  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   411  
   412  func Fsync(fd int) (err error) {
   413  	_, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
   414  	if e1 != 0 {
   415  		err = errnoErr(e1)
   416  	}
   417  	return
   418  }
   419  
   420  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   421  
   422  func Getdents(fd int, buf []byte) (n int, err error) {
   423  	var _p0 unsafe.Pointer
   424  	if len(buf) > 0 {
   425  		_p0 = unsafe.Pointer(&buf[0])
   426  	} else {
   427  		_p0 = unsafe.Pointer(&_zero)
   428  	}
   429  	r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
   430  	n = int(r0)
   431  	if e1 != 0 {
   432  		err = errnoErr(e1)
   433  	}
   434  	return
   435  }
   436  
   437  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   438  
   439  func Getpgid(pid int) (pgid int, err error) {
   440  	r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
   441  	pgid = int(r0)
   442  	if e1 != 0 {
   443  		err = errnoErr(e1)
   444  	}
   445  	return
   446  }
   447  
   448  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   449  
   450  func Getpid() (pid int) {
   451  	r0, _ := rawSyscallNoError(SYS_GETPID, 0, 0, 0)
   452  	pid = int(r0)
   453  	return
   454  }
   455  
   456  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   457  
   458  func Getppid() (ppid int) {
   459  	r0, _ := rawSyscallNoError(SYS_GETPPID, 0, 0, 0)
   460  	ppid = int(r0)
   461  	return
   462  }
   463  
   464  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   465  
   466  func Getpriority(which int, who int) (prio int, err error) {
   467  	r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
   468  	prio = int(r0)
   469  	if e1 != 0 {
   470  		err = errnoErr(e1)
   471  	}
   472  	return
   473  }
   474  
   475  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   476  
   477  func Getrusage(who int, rusage *Rusage) (err error) {
   478  	_, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
   479  	if e1 != 0 {
   480  		err = errnoErr(e1)
   481  	}
   482  	return
   483  }
   484  
   485  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   486  
   487  func Gettid() (tid int) {
   488  	r0, _ := rawSyscallNoError(SYS_GETTID, 0, 0, 0)
   489  	tid = int(r0)
   490  	return
   491  }
   492  
   493  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   494  
   495  func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
   496  	var _p0 *byte
   497  	_p0, err = BytePtrFromString(path)
   498  	if err != nil {
   499  		return
   500  	}
   501  	var _p1 *byte
   502  	_p1, err = BytePtrFromString(attr)
   503  	if err != nil {
   504  		return
   505  	}
   506  	var _p2 unsafe.Pointer
   507  	if len(dest) > 0 {
   508  		_p2 = unsafe.Pointer(&dest[0])
   509  	} else {
   510  		_p2 = unsafe.Pointer(&_zero)
   511  	}
   512  	r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
   513  	sz = int(r0)
   514  	if e1 != 0 {
   515  		err = errnoErr(e1)
   516  	}
   517  	return
   518  }
   519  
   520  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   521  
   522  func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
   523  	var _p0 *byte
   524  	_p0, err = BytePtrFromString(pathname)
   525  	if err != nil {
   526  		return
   527  	}
   528  	r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
   529  	watchdesc = int(r0)
   530  	if e1 != 0 {
   531  		err = errnoErr(e1)
   532  	}
   533  	return
   534  }
   535  
   536  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   537  
   538  func InotifyInit1(flags int) (fd int, err error) {
   539  	r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
   540  	fd = int(r0)
   541  	if e1 != 0 {
   542  		err = errnoErr(e1)
   543  	}
   544  	return
   545  }
   546  
   547  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   548  
   549  func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
   550  	r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
   551  	success = int(r0)
   552  	if e1 != 0 {
   553  		err = errnoErr(e1)
   554  	}
   555  	return
   556  }
   557  
   558  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   559  
   560  func Kill(pid int, sig Signal) (err error) {
   561  	_, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
   562  	if e1 != 0 {
   563  		err = errnoErr(e1)
   564  	}
   565  	return
   566  }
   567  
   568  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   569  
   570  func Klogctl(typ int, buf []byte) (n int, err error) {
   571  	var _p0 unsafe.Pointer
   572  	if len(buf) > 0 {
   573  		_p0 = unsafe.Pointer(&buf[0])
   574  	} else {
   575  		_p0 = unsafe.Pointer(&_zero)
   576  	}
   577  	r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
   578  	n = int(r0)
   579  	if e1 != 0 {
   580  		err = errnoErr(e1)
   581  	}
   582  	return
   583  }
   584  
   585  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   586  
   587  func Listxattr(path string, dest []byte) (sz int, err error) {
   588  	var _p0 *byte
   589  	_p0, err = BytePtrFromString(path)
   590  	if err != nil {
   591  		return
   592  	}
   593  	var _p1 unsafe.Pointer
   594  	if len(dest) > 0 {
   595  		_p1 = unsafe.Pointer(&dest[0])
   596  	} else {
   597  		_p1 = unsafe.Pointer(&_zero)
   598  	}
   599  	r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
   600  	sz = int(r0)
   601  	if e1 != 0 {
   602  		err = errnoErr(e1)
   603  	}
   604  	return
   605  }
   606  
   607  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   608  
   609  func Mkdirat(dirfd int, path string, mode uint32) (err error) {
   610  	var _p0 *byte
   611  	_p0, err = BytePtrFromString(path)
   612  	if err != nil {
   613  		return
   614  	}
   615  	_, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
   616  	if e1 != 0 {
   617  		err = errnoErr(e1)
   618  	}
   619  	return
   620  }
   621  
   622  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   623  
   624  func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
   625  	var _p0 *byte
   626  	_p0, err = BytePtrFromString(path)
   627  	if err != nil {
   628  		return
   629  	}
   630  	_, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
   631  	if e1 != 0 {
   632  		err = errnoErr(e1)
   633  	}
   634  	return
   635  }
   636  
   637  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   638  
   639  func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
   640  	_, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
   641  	if e1 != 0 {
   642  		err = errnoErr(e1)
   643  	}
   644  	return
   645  }
   646  
   647  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   648  
   649  func PivotRoot(newroot string, putold string) (err error) {
   650  	var _p0 *byte
   651  	_p0, err = BytePtrFromString(newroot)
   652  	if err != nil {
   653  		return
   654  	}
   655  	var _p1 *byte
   656  	_p1, err = BytePtrFromString(putold)
   657  	if err != nil {
   658  		return
   659  	}
   660  	_, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
   661  	if e1 != 0 {
   662  		err = errnoErr(e1)
   663  	}
   664  	return
   665  }
   666  
   667  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   668  
   669  func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
   670  	_, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
   671  	if e1 != 0 {
   672  		err = errnoErr(e1)
   673  	}
   674  	return
   675  }
   676  
   677  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   678  
   679  func read(fd int, p []byte) (n int, err error) {
   680  	var _p0 unsafe.Pointer
   681  	if len(p) > 0 {
   682  		_p0 = unsafe.Pointer(&p[0])
   683  	} else {
   684  		_p0 = unsafe.Pointer(&_zero)
   685  	}
   686  	r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
   687  	n = int(r0)
   688  	if e1 != 0 {
   689  		err = errnoErr(e1)
   690  	}
   691  	return
   692  }
   693  
   694  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   695  
   696  func Removexattr(path string, attr string) (err error) {
   697  	var _p0 *byte
   698  	_p0, err = BytePtrFromString(path)
   699  	if err != nil {
   700  		return
   701  	}
   702  	var _p1 *byte
   703  	_p1, err = BytePtrFromString(attr)
   704  	if err != nil {
   705  		return
   706  	}
   707  	_, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
   708  	if e1 != 0 {
   709  		err = errnoErr(e1)
   710  	}
   711  	return
   712  }
   713  
   714  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   715  
   716  func Setdomainname(p []byte) (err error) {
   717  	var _p0 unsafe.Pointer
   718  	if len(p) > 0 {
   719  		_p0 = unsafe.Pointer(&p[0])
   720  	} else {
   721  		_p0 = unsafe.Pointer(&_zero)
   722  	}
   723  	_, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
   724  	if e1 != 0 {
   725  		err = errnoErr(e1)
   726  	}
   727  	return
   728  }
   729  
   730  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   731  
   732  func Sethostname(p []byte) (err error) {
   733  	var _p0 unsafe.Pointer
   734  	if len(p) > 0 {
   735  		_p0 = unsafe.Pointer(&p[0])
   736  	} else {
   737  		_p0 = unsafe.Pointer(&_zero)
   738  	}
   739  	_, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
   740  	if e1 != 0 {
   741  		err = errnoErr(e1)
   742  	}
   743  	return
   744  }
   745  
   746  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   747  
   748  func Setpgid(pid int, pgid int) (err error) {
   749  	_, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
   750  	if e1 != 0 {
   751  		err = errnoErr(e1)
   752  	}
   753  	return
   754  }
   755  
   756  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   757  
   758  func Setsid() (pid int, err error) {
   759  	r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
   760  	pid = int(r0)
   761  	if e1 != 0 {
   762  		err = errnoErr(e1)
   763  	}
   764  	return
   765  }
   766  
   767  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   768  
   769  func Settimeofday(tv *Timeval) (err error) {
   770  	_, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
   771  	if e1 != 0 {
   772  		err = errnoErr(e1)
   773  	}
   774  	return
   775  }
   776  
   777  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   778  
   779  func Setpriority(which int, who int, prio int) (err error) {
   780  	_, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
   781  	if e1 != 0 {
   782  		err = errnoErr(e1)
   783  	}
   784  	return
   785  }
   786  
   787  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   788  
   789  func Setxattr(path string, attr string, data []byte, flags int) (err error) {
   790  	var _p0 *byte
   791  	_p0, err = BytePtrFromString(path)
   792  	if err != nil {
   793  		return
   794  	}
   795  	var _p1 *byte
   796  	_p1, err = BytePtrFromString(attr)
   797  	if err != nil {
   798  		return
   799  	}
   800  	var _p2 unsafe.Pointer
   801  	if len(data) > 0 {
   802  		_p2 = unsafe.Pointer(&data[0])
   803  	} else {
   804  		_p2 = unsafe.Pointer(&_zero)
   805  	}
   806  	_, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
   807  	if e1 != 0 {
   808  		err = errnoErr(e1)
   809  	}
   810  	return
   811  }
   812  
   813  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   814  
   815  func Sync() {
   816  	Syscall(SYS_SYNC, 0, 0, 0)
   817  	return
   818  }
   819  
   820  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   821  
   822  func Sysinfo(info *Sysinfo_t) (err error) {
   823  	_, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
   824  	if e1 != 0 {
   825  		err = errnoErr(e1)
   826  	}
   827  	return
   828  }
   829  
   830  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   831  
   832  func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
   833  	r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
   834  	n = int64(int64(r1)<<32 | int64(r0))
   835  	if e1 != 0 {
   836  		err = errnoErr(e1)
   837  	}
   838  	return
   839  }
   840  
   841  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   842  
   843  func Tgkill(tgid int, tid int, sig Signal) (err error) {
   844  	_, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
   845  	if e1 != 0 {
   846  		err = errnoErr(e1)
   847  	}
   848  	return
   849  }
   850  
   851  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   852  
   853  func Times(tms *Tms) (ticks uintptr, err error) {
   854  	r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
   855  	ticks = uintptr(r0)
   856  	if e1 != 0 {
   857  		err = errnoErr(e1)
   858  	}
   859  	return
   860  }
   861  
   862  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   863  
   864  func Umask(mask int) (oldmask int) {
   865  	r0, _ := rawSyscallNoError(SYS_UMASK, uintptr(mask), 0, 0)
   866  	oldmask = int(r0)
   867  	return
   868  }
   869  
   870  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   871  
   872  func Uname(buf *Utsname) (err error) {
   873  	_, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
   874  	if e1 != 0 {
   875  		err = errnoErr(e1)
   876  	}
   877  	return
   878  }
   879  
   880  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   881  
   882  func Unmount(target string, flags int) (err error) {
   883  	var _p0 *byte
   884  	_p0, err = BytePtrFromString(target)
   885  	if err != nil {
   886  		return
   887  	}
   888  	_, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
   889  	if e1 != 0 {
   890  		err = errnoErr(e1)
   891  	}
   892  	return
   893  }
   894  
   895  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   896  
   897  func Unshare(flags int) (err error) {
   898  	_, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
   899  	if e1 != 0 {
   900  		err = errnoErr(e1)
   901  	}
   902  	return
   903  }
   904  
   905  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   906  
   907  func write(fd int, p []byte) (n int, err error) {
   908  	var _p0 unsafe.Pointer
   909  	if len(p) > 0 {
   910  		_p0 = unsafe.Pointer(&p[0])
   911  	} else {
   912  		_p0 = unsafe.Pointer(&_zero)
   913  	}
   914  	r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
   915  	n = int(r0)
   916  	if e1 != 0 {
   917  		err = errnoErr(e1)
   918  	}
   919  	return
   920  }
   921  
   922  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   923  
   924  func exitThread(code int) (err error) {
   925  	_, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
   926  	if e1 != 0 {
   927  		err = errnoErr(e1)
   928  	}
   929  	return
   930  }
   931  
   932  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   933  
   934  func readlen(fd int, p *byte, np int) (n int, err error) {
   935  	r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
   936  	n = int(r0)
   937  	if e1 != 0 {
   938  		err = errnoErr(e1)
   939  	}
   940  	return
   941  }
   942  
   943  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   944  
   945  func writelen(fd int, p *byte, np int) (n int, err error) {
   946  	r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
   947  	n = int(r0)
   948  	if e1 != 0 {
   949  		err = errnoErr(e1)
   950  	}
   951  	return
   952  }
   953  
   954  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   955  
   956  func munmap(addr uintptr, length uintptr) (err error) {
   957  	_, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
   958  	if e1 != 0 {
   959  		err = errnoErr(e1)
   960  	}
   961  	return
   962  }
   963  
   964  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   965  
   966  func Madvise(b []byte, advice int) (err error) {
   967  	var _p0 unsafe.Pointer
   968  	if len(b) > 0 {
   969  		_p0 = unsafe.Pointer(&b[0])
   970  	} else {
   971  		_p0 = unsafe.Pointer(&_zero)
   972  	}
   973  	_, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
   974  	if e1 != 0 {
   975  		err = errnoErr(e1)
   976  	}
   977  	return
   978  }
   979  
   980  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   981  
   982  func Mprotect(b []byte, prot int) (err error) {
   983  	var _p0 unsafe.Pointer
   984  	if len(b) > 0 {
   985  		_p0 = unsafe.Pointer(&b[0])
   986  	} else {
   987  		_p0 = unsafe.Pointer(&_zero)
   988  	}
   989  	_, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
   990  	if e1 != 0 {
   991  		err = errnoErr(e1)
   992  	}
   993  	return
   994  }
   995  
   996  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   997  
   998  func Mlock(b []byte) (err error) {
   999  	var _p0 unsafe.Pointer
  1000  	if len(b) > 0 {
  1001  		_p0 = unsafe.Pointer(&b[0])
  1002  	} else {
  1003  		_p0 = unsafe.Pointer(&_zero)
  1004  	}
  1005  	_, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
  1006  	if e1 != 0 {
  1007  		err = errnoErr(e1)
  1008  	}
  1009  	return
  1010  }
  1011  
  1012  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1013  
  1014  func Munlock(b []byte) (err error) {
  1015  	var _p0 unsafe.Pointer
  1016  	if len(b) > 0 {
  1017  		_p0 = unsafe.Pointer(&b[0])
  1018  	} else {
  1019  		_p0 = unsafe.Pointer(&_zero)
  1020  	}
  1021  	_, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
  1022  	if e1 != 0 {
  1023  		err = errnoErr(e1)
  1024  	}
  1025  	return
  1026  }
  1027  
  1028  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1029  
  1030  func Mlockall(flags int) (err error) {
  1031  	_, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
  1032  	if e1 != 0 {
  1033  		err = errnoErr(e1)
  1034  	}
  1035  	return
  1036  }
  1037  
  1038  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1039  
  1040  func Munlockall() (err error) {
  1041  	_, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
  1042  	if e1 != 0 {
  1043  		err = errnoErr(e1)
  1044  	}
  1045  	return
  1046  }
  1047  
  1048  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1049  
  1050  func pipe(p *[2]_C_int) (err error) {
  1051  	_, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
  1052  	if e1 != 0 {
  1053  		err = errnoErr(e1)
  1054  	}
  1055  	return
  1056  }
  1057  
  1058  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1059  
  1060  func pipe2(p *[2]_C_int, flags int) (err error) {
  1061  	_, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
  1062  	if e1 != 0 {
  1063  		err = errnoErr(e1)
  1064  	}
  1065  	return
  1066  }
  1067  
  1068  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1069  
  1070  func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
  1071  	r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
  1072  	fd = int(r0)
  1073  	if e1 != 0 {
  1074  		err = errnoErr(e1)
  1075  	}
  1076  	return
  1077  }
  1078  
  1079  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1080  
  1081  func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
  1082  	r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
  1083  	fd = int(r0)
  1084  	if e1 != 0 {
  1085  		err = errnoErr(e1)
  1086  	}
  1087  	return
  1088  }
  1089  
  1090  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1091  
  1092  func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
  1093  	_, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
  1094  	if e1 != 0 {
  1095  		err = errnoErr(e1)
  1096  	}
  1097  	return
  1098  }
  1099  
  1100  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1101  
  1102  func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
  1103  	_, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
  1104  	if e1 != 0 {
  1105  		err = errnoErr(e1)
  1106  	}
  1107  	return
  1108  }
  1109  
  1110  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1111  
  1112  func getgroups(n int, list *_Gid_t) (nn int, err error) {
  1113  	r0, _, e1 := RawSyscall(SYS_GETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
  1114  	nn = int(r0)
  1115  	if e1 != 0 {
  1116  		err = errnoErr(e1)
  1117  	}
  1118  	return
  1119  }
  1120  
  1121  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1122  
  1123  func setgroups(n int, list *_Gid_t) (err error) {
  1124  	_, _, e1 := RawSyscall(SYS_SETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
  1125  	if e1 != 0 {
  1126  		err = errnoErr(e1)
  1127  	}
  1128  	return
  1129  }
  1130  
  1131  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1132  
  1133  func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
  1134  	_, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
  1135  	if e1 != 0 {
  1136  		err = errnoErr(e1)
  1137  	}
  1138  	return
  1139  }
  1140  
  1141  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1142  
  1143  func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
  1144  	_, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
  1145  	if e1 != 0 {
  1146  		err = errnoErr(e1)
  1147  	}
  1148  	return
  1149  }
  1150  
  1151  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1152  
  1153  func socket(domain int, typ int, proto int) (fd int, err error) {
  1154  	r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
  1155  	fd = int(r0)
  1156  	if e1 != 0 {
  1157  		err = errnoErr(e1)
  1158  	}
  1159  	return
  1160  }
  1161  
  1162  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1163  
  1164  func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
  1165  	_, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
  1166  	if e1 != 0 {
  1167  		err = errnoErr(e1)
  1168  	}
  1169  	return
  1170  }
  1171  
  1172  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1173  
  1174  func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
  1175  	_, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
  1176  	if e1 != 0 {
  1177  		err = errnoErr(e1)
  1178  	}
  1179  	return
  1180  }
  1181  
  1182  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1183  
  1184  func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
  1185  	var _p0 unsafe.Pointer
  1186  	if len(p) > 0 {
  1187  		_p0 = unsafe.Pointer(&p[0])
  1188  	} else {
  1189  		_p0 = unsafe.Pointer(&_zero)
  1190  	}
  1191  	r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
  1192  	n = int(r0)
  1193  	if e1 != 0 {
  1194  		err = errnoErr(e1)
  1195  	}
  1196  	return
  1197  }
  1198  
  1199  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1200  
  1201  func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
  1202  	var _p0 unsafe.Pointer
  1203  	if len(buf) > 0 {
  1204  		_p0 = unsafe.Pointer(&buf[0])
  1205  	} else {
  1206  		_p0 = unsafe.Pointer(&_zero)
  1207  	}
  1208  	_, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
  1209  	if e1 != 0 {
  1210  		err = errnoErr(e1)
  1211  	}
  1212  	return
  1213  }
  1214  
  1215  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1216  
  1217  func socketpair(domain int, typ int, flags int, fd *[2]int32) (err error) {
  1218  	_, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(flags), uintptr(unsafe.Pointer(fd)), 0, 0)
  1219  	if e1 != 0 {
  1220  		err = errnoErr(e1)
  1221  	}
  1222  	return
  1223  }
  1224  
  1225  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1226  
  1227  func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
  1228  	r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
  1229  	n = int(r0)
  1230  	if e1 != 0 {
  1231  		err = errnoErr(e1)
  1232  	}
  1233  	return
  1234  }
  1235  
  1236  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1237  
  1238  func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
  1239  	r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
  1240  	n = int(r0)
  1241  	if e1 != 0 {
  1242  		err = errnoErr(e1)
  1243  	}
  1244  	return
  1245  }
  1246  
  1247  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1248  
  1249  func Dup2(oldfd int, newfd int) (err error) {
  1250  	_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
  1251  	if e1 != 0 {
  1252  		err = errnoErr(e1)
  1253  	}
  1254  	return
  1255  }
  1256  
  1257  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1258  
  1259  func EpollCreate(size int) (fd int, err error) {
  1260  	r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
  1261  	fd = int(r0)
  1262  	if e1 != 0 {
  1263  		err = errnoErr(e1)
  1264  	}
  1265  	return
  1266  }
  1267  
  1268  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1269  
  1270  func Fchown(fd int, uid int, gid int) (err error) {
  1271  	_, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid))
  1272  	if e1 != 0 {
  1273  		err = errnoErr(e1)
  1274  	}
  1275  	return
  1276  }
  1277  
  1278  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1279  
  1280  func Fstat(fd int, stat *Stat_t) (err error) {
  1281  	_, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
  1282  	if e1 != 0 {
  1283  		err = errnoErr(e1)
  1284  	}
  1285  	return
  1286  }
  1287  
  1288  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1289  
  1290  func fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
  1291  	var _p0 *byte
  1292  	_p0, err = BytePtrFromString(path)
  1293  	if err != nil {
  1294  		return
  1295  	}
  1296  	_, _, e1 := Syscall6(SYS_FSTATAT64, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
  1297  	if e1 != 0 {
  1298  		err = errnoErr(e1)
  1299  	}
  1300  	return
  1301  }
  1302  
  1303  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1304  
  1305  func Getegid() (egid int) {
  1306  	r0, _ := rawSyscallNoError(SYS_GETEGID32, 0, 0, 0)
  1307  	egid = int(r0)
  1308  	return
  1309  }
  1310  
  1311  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1312  
  1313  func Geteuid() (euid int) {
  1314  	r0, _ := rawSyscallNoError(SYS_GETEUID32, 0, 0, 0)
  1315  	euid = int(r0)
  1316  	return
  1317  }
  1318  
  1319  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1320  
  1321  func Getgid() (gid int) {
  1322  	r0, _ := rawSyscallNoError(SYS_GETGID32, 0, 0, 0)
  1323  	gid = int(r0)
  1324  	return
  1325  }
  1326  
  1327  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1328  
  1329  func Getuid() (uid int) {
  1330  	r0, _ := rawSyscallNoError(SYS_GETUID32, 0, 0, 0)
  1331  	uid = int(r0)
  1332  	return
  1333  }
  1334  
  1335  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1336  
  1337  func InotifyInit() (fd int, err error) {
  1338  	r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
  1339  	fd = int(r0)
  1340  	if e1 != 0 {
  1341  		err = errnoErr(e1)
  1342  	}
  1343  	return
  1344  }
  1345  
  1346  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1347  
  1348  func Listen(s int, n int) (err error) {
  1349  	_, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
  1350  	if e1 != 0 {
  1351  		err = errnoErr(e1)
  1352  	}
  1353  	return
  1354  }
  1355  
  1356  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1357  
  1358  func Pause() (err error) {
  1359  	_, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
  1360  	if e1 != 0 {
  1361  		err = errnoErr(e1)
  1362  	}
  1363  	return
  1364  }
  1365  
  1366  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1367  
  1368  func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
  1369  	var _p0 *byte
  1370  	_p0, err = BytePtrFromString(oldpath)
  1371  	if err != nil {
  1372  		return
  1373  	}
  1374  	var _p1 *byte
  1375  	_p1, err = BytePtrFromString(newpath)
  1376  	if err != nil {
  1377  		return
  1378  	}
  1379  	_, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
  1380  	if e1 != 0 {
  1381  		err = errnoErr(e1)
  1382  	}
  1383  	return
  1384  }
  1385  
  1386  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1387  
  1388  func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
  1389  	r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
  1390  	written = int(r0)
  1391  	if e1 != 0 {
  1392  		err = errnoErr(e1)
  1393  	}
  1394  	return
  1395  }
  1396  
  1397  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1398  
  1399  func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
  1400  	r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
  1401  	n = int(r0)
  1402  	if e1 != 0 {
  1403  		err = errnoErr(e1)
  1404  	}
  1405  	return
  1406  }
  1407  
  1408  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1409  
  1410  func Setfsgid(gid int) (err error) {
  1411  	_, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
  1412  	if e1 != 0 {
  1413  		err = errnoErr(e1)
  1414  	}
  1415  	return
  1416  }
  1417  
  1418  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1419  
  1420  func Setfsuid(uid int) (err error) {
  1421  	_, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
  1422  	if e1 != 0 {
  1423  		err = errnoErr(e1)
  1424  	}
  1425  	return
  1426  }
  1427  
  1428  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1429  
  1430  func Setregid(rgid int, egid int) (err error) {
  1431  	_, _, e1 := RawSyscall(SYS_SETREGID32, uintptr(rgid), uintptr(egid), 0)
  1432  	if e1 != 0 {
  1433  		err = errnoErr(e1)
  1434  	}
  1435  	return
  1436  }
  1437  
  1438  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1439  
  1440  func Setresgid(rgid int, egid int, sgid int) (err error) {
  1441  	_, _, e1 := RawSyscall(SYS_SETRESGID32, uintptr(rgid), uintptr(egid), uintptr(sgid))
  1442  	if e1 != 0 {
  1443  		err = errnoErr(e1)
  1444  	}
  1445  	return
  1446  }
  1447  
  1448  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1449  
  1450  func Setresuid(ruid int, euid int, suid int) (err error) {
  1451  	_, _, e1 := RawSyscall(SYS_SETRESUID32, uintptr(ruid), uintptr(euid), uintptr(suid))
  1452  	if e1 != 0 {
  1453  		err = errnoErr(e1)
  1454  	}
  1455  	return
  1456  }
  1457  
  1458  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1459  
  1460  func Setreuid(ruid int, euid int) (err error) {
  1461  	_, _, e1 := RawSyscall(SYS_SETREUID32, uintptr(ruid), uintptr(euid), 0)
  1462  	if e1 != 0 {
  1463  		err = errnoErr(e1)
  1464  	}
  1465  	return
  1466  }
  1467  
  1468  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1469  
  1470  func Shutdown(fd int, how int) (err error) {
  1471  	_, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
  1472  	if e1 != 0 {
  1473  		err = errnoErr(e1)
  1474  	}
  1475  	return
  1476  }
  1477  
  1478  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1479  
  1480  func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
  1481  	r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
  1482  	n = int(r0)
  1483  	if e1 != 0 {
  1484  		err = errnoErr(e1)
  1485  	}
  1486  	return
  1487  }
  1488  
  1489  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1490  
  1491  func Ustat(dev int, ubuf *Ustat_t) (err error) {
  1492  	_, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
  1493  	if e1 != 0 {
  1494  		err = errnoErr(e1)
  1495  	}
  1496  	return
  1497  }
  1498  
  1499  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1500  
  1501  func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
  1502  	var _p0 *byte
  1503  	_p0, err = BytePtrFromString(path)
  1504  	if err != nil {
  1505  		return
  1506  	}
  1507  	_, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
  1508  	if e1 != 0 {
  1509  		err = errnoErr(e1)
  1510  	}
  1511  	return
  1512  }
  1513  
  1514  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1515  
  1516  func Gettimeofday(tv *Timeval) (err error) {
  1517  	_, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
  1518  	if e1 != 0 {
  1519  		err = errnoErr(e1)
  1520  	}
  1521  	return
  1522  }
  1523  
  1524  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1525  
  1526  func Time(t *Time_t) (tt Time_t, err error) {
  1527  	r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
  1528  	tt = Time_t(r0)
  1529  	if e1 != 0 {
  1530  		err = errnoErr(e1)
  1531  	}
  1532  	return
  1533  }
  1534  
  1535  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1536  
  1537  func Utime(path string, buf *Utimbuf) (err error) {
  1538  	var _p0 *byte
  1539  	_p0, err = BytePtrFromString(path)
  1540  	if err != nil {
  1541  		return
  1542  	}
  1543  	_, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
  1544  	if e1 != 0 {
  1545  		err = errnoErr(e1)
  1546  	}
  1547  	return
  1548  }
  1549  
  1550  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1551  
  1552  func utimes(path string, times *[2]Timeval) (err error) {
  1553  	var _p0 *byte
  1554  	_p0, err = BytePtrFromString(path)
  1555  	if err != nil {
  1556  		return
  1557  	}
  1558  	_, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
  1559  	if e1 != 0 {
  1560  		err = errnoErr(e1)
  1561  	}
  1562  	return
  1563  }
  1564  
  1565  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1566  
  1567  func Pread(fd int, p []byte, offset int64) (n int, err error) {
  1568  	var _p0 unsafe.Pointer
  1569  	if len(p) > 0 {
  1570  		_p0 = unsafe.Pointer(&p[0])
  1571  	} else {
  1572  		_p0 = unsafe.Pointer(&_zero)
  1573  	}
  1574  	r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
  1575  	n = int(r0)
  1576  	if e1 != 0 {
  1577  		err = errnoErr(e1)
  1578  	}
  1579  	return
  1580  }
  1581  
  1582  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1583  
  1584  func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
  1585  	var _p0 unsafe.Pointer
  1586  	if len(p) > 0 {
  1587  		_p0 = unsafe.Pointer(&p[0])
  1588  	} else {
  1589  		_p0 = unsafe.Pointer(&_zero)
  1590  	}
  1591  	r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
  1592  	n = int(r0)
  1593  	if e1 != 0 {
  1594  		err = errnoErr(e1)
  1595  	}
  1596  	return
  1597  }
  1598  
  1599  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1600  
  1601  func Truncate(path string, length int64) (err error) {
  1602  	var _p0 *byte
  1603  	_p0, err = BytePtrFromString(path)
  1604  	if err != nil {
  1605  		return
  1606  	}
  1607  	_, _, e1 := Syscall6(SYS_TRUNCATE64, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
  1608  	if e1 != 0 {
  1609  		err = errnoErr(e1)
  1610  	}
  1611  	return
  1612  }
  1613  
  1614  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1615  
  1616  func Ftruncate(fd int, length int64) (err error) {
  1617  	_, _, e1 := Syscall6(SYS_FTRUNCATE64, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
  1618  	if e1 != 0 {
  1619  		err = errnoErr(e1)
  1620  	}
  1621  	return
  1622  }
  1623  
  1624  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1625  
  1626  func mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error) {
  1627  	r0, _, e1 := Syscall6(SYS_MMAP2, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(pageOffset))
  1628  	xaddr = uintptr(r0)
  1629  	if e1 != 0 {
  1630  		err = errnoErr(e1)
  1631  	}
  1632  	return
  1633  }
  1634  
  1635  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1636  
  1637  func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
  1638  	var _p0 unsafe.Pointer
  1639  	if len(events) > 0 {
  1640  		_p0 = unsafe.Pointer(&events[0])
  1641  	} else {
  1642  		_p0 = unsafe.Pointer(&_zero)
  1643  	}
  1644  	r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
  1645  	n = int(r0)
  1646  	if e1 != 0 {
  1647  		err = errnoErr(e1)
  1648  	}
  1649  	return
  1650  }
  1651  
  1652  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1653  
  1654  func getrlimit(resource int, rlim *rlimit32) (err error) {
  1655  	_, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
  1656  	if e1 != 0 {
  1657  		err = errnoErr(e1)
  1658  	}
  1659  	return
  1660  }
  1661  
  1662  // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
  1663  
  1664  func setrlimit(resource int, rlim *rlimit32) (err error) {
  1665  	_, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
  1666  	if e1 != 0 {
  1667  		err = errnoErr(e1)
  1668  	}
  1669  	return
  1670  }
  1671  

View as plain text