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