diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go | 137 |
1 files changed, 136 insertions, 1 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go index 12da7b4..ae9f1a2 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go | |||
@@ -1,4 +1,4 @@ | |||
1 | // mksyscall.pl -dragonfly -tags dragonfly,amd64 syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_amd64.go | 1 | // go run mksyscall.go -dragonfly -tags dragonfly,amd64 syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_amd64.go |
2 | // Code generated by the command above; see README.md. DO NOT EDIT. | 2 | // Code generated by the command above; see README.md. DO NOT EDIT. |
3 | 3 | ||
4 | // +build dragonfly,amd64 | 4 | // +build dragonfly,amd64 |
@@ -588,6 +588,21 @@ func Exit(code int) { | |||
588 | 588 | ||
589 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 589 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
590 | 590 | ||
591 | func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { | ||
592 | var _p0 *byte | ||
593 | _p0, err = BytePtrFromString(path) | ||
594 | if err != nil { | ||
595 | return | ||
596 | } | ||
597 | _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) | ||
598 | if e1 != 0 { | ||
599 | err = errnoErr(e1) | ||
600 | } | ||
601 | return | ||
602 | } | ||
603 | |||
604 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
605 | |||
591 | func Fchdir(fd int) (err error) { | 606 | func Fchdir(fd int) (err error) { |
592 | _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0) | 607 | _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0) |
593 | if e1 != 0 { | 608 | if e1 != 0 { |
@@ -643,6 +658,21 @@ func Fchown(fd int, uid int, gid int) (err error) { | |||
643 | 658 | ||
644 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 659 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
645 | 660 | ||
661 | func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) { | ||
662 | var _p0 *byte | ||
663 | _p0, err = BytePtrFromString(path) | ||
664 | if err != nil { | ||
665 | return | ||
666 | } | ||
667 | _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) | ||
668 | if e1 != 0 { | ||
669 | err = errnoErr(e1) | ||
670 | } | ||
671 | return | ||
672 | } | ||
673 | |||
674 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
675 | |||
646 | func Flock(fd int, how int) (err error) { | 676 | func Flock(fd int, how int) (err error) { |
647 | _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0) | 677 | _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0) |
648 | if e1 != 0 { | 678 | if e1 != 0 { |
@@ -927,6 +957,26 @@ func Link(path string, link string) (err error) { | |||
927 | 957 | ||
928 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 958 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
929 | 959 | ||
960 | func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) { | ||
961 | var _p0 *byte | ||
962 | _p0, err = BytePtrFromString(path) | ||
963 | if err != nil { | ||
964 | return | ||
965 | } | ||
966 | var _p1 *byte | ||
967 | _p1, err = BytePtrFromString(link) | ||
968 | if err != nil { | ||
969 | return | ||
970 | } | ||
971 | _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) | ||
972 | if e1 != 0 { | ||
973 | err = errnoErr(e1) | ||
974 | } | ||
975 | return | ||
976 | } | ||
977 | |||
978 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
979 | |||
930 | func Listen(s int, backlog int) (err error) { | 980 | func Listen(s int, backlog int) (err error) { |
931 | _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0) | 981 | _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0) |
932 | if e1 != 0 { | 982 | if e1 != 0 { |
@@ -967,6 +1017,21 @@ func Mkdir(path string, mode uint32) (err error) { | |||
967 | 1017 | ||
968 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1018 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
969 | 1019 | ||
1020 | func Mkdirat(dirfd int, path string, mode uint32) (err error) { | ||
1021 | var _p0 *byte | ||
1022 | _p0, err = BytePtrFromString(path) | ||
1023 | if err != nil { | ||
1024 | return | ||
1025 | } | ||
1026 | _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) | ||
1027 | if e1 != 0 { | ||
1028 | err = errnoErr(e1) | ||
1029 | } | ||
1030 | return | ||
1031 | } | ||
1032 | |||
1033 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1034 | |||
970 | func Mkfifo(path string, mode uint32) (err error) { | 1035 | func Mkfifo(path string, mode uint32) (err error) { |
971 | var _p0 *byte | 1036 | var _p0 *byte |
972 | _p0, err = BytePtrFromString(path) | 1037 | _p0, err = BytePtrFromString(path) |
@@ -997,6 +1062,21 @@ func Mknod(path string, mode uint32, dev int) (err error) { | |||
997 | 1062 | ||
998 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1063 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
999 | 1064 | ||
1065 | func Mknodat(fd int, path string, mode uint32, dev int) (err error) { | ||
1066 | var _p0 *byte | ||
1067 | _p0, err = BytePtrFromString(path) | ||
1068 | if err != nil { | ||
1069 | return | ||
1070 | } | ||
1071 | _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) | ||
1072 | if e1 != 0 { | ||
1073 | err = errnoErr(e1) | ||
1074 | } | ||
1075 | return | ||
1076 | } | ||
1077 | |||
1078 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1079 | |||
1000 | func Nanosleep(time *Timespec, leftover *Timespec) (err error) { | 1080 | func Nanosleep(time *Timespec, leftover *Timespec) (err error) { |
1001 | _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) | 1081 | _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) |
1002 | if e1 != 0 { | 1082 | if e1 != 0 { |
@@ -1114,6 +1194,26 @@ func Rename(from string, to string) (err error) { | |||
1114 | 1194 | ||
1115 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1195 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1116 | 1196 | ||
1197 | func Renameat(fromfd int, from string, tofd int, to string) (err error) { | ||
1198 | var _p0 *byte | ||
1199 | _p0, err = BytePtrFromString(from) | ||
1200 | if err != nil { | ||
1201 | return | ||
1202 | } | ||
1203 | var _p1 *byte | ||
1204 | _p1, err = BytePtrFromString(to) | ||
1205 | if err != nil { | ||
1206 | return | ||
1207 | } | ||
1208 | _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) | ||
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 | |||
1117 | func Revoke(path string) (err error) { | 1217 | func Revoke(path string) (err error) { |
1118 | var _p0 *byte | 1218 | var _p0 *byte |
1119 | _p0, err = BytePtrFromString(path) | 1219 | _p0, err = BytePtrFromString(path) |
@@ -1361,6 +1461,26 @@ func Symlink(path string, link string) (err error) { | |||
1361 | 1461 | ||
1362 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1462 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1363 | 1463 | ||
1464 | func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) { | ||
1465 | var _p0 *byte | ||
1466 | _p0, err = BytePtrFromString(oldpath) | ||
1467 | if err != nil { | ||
1468 | return | ||
1469 | } | ||
1470 | var _p1 *byte | ||
1471 | _p1, err = BytePtrFromString(newpath) | ||
1472 | if err != nil { | ||
1473 | return | ||
1474 | } | ||
1475 | _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) | ||
1476 | if e1 != 0 { | ||
1477 | err = errnoErr(e1) | ||
1478 | } | ||
1479 | return | ||
1480 | } | ||
1481 | |||
1482 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1483 | |||
1364 | func Sync() (err error) { | 1484 | func Sync() (err error) { |
1365 | _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0) | 1485 | _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0) |
1366 | if e1 != 0 { | 1486 | if e1 != 0 { |
@@ -1424,6 +1544,21 @@ func Unlink(path string) (err error) { | |||
1424 | 1544 | ||
1425 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1545 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1426 | 1546 | ||
1547 | func Unlinkat(dirfd int, path string, flags int) (err error) { | ||
1548 | var _p0 *byte | ||
1549 | _p0, err = BytePtrFromString(path) | ||
1550 | if err != nil { | ||
1551 | return | ||
1552 | } | ||
1553 | _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) | ||
1554 | if e1 != 0 { | ||
1555 | err = errnoErr(e1) | ||
1556 | } | ||
1557 | return | ||
1558 | } | ||
1559 | |||
1560 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1561 | |||
1427 | func Unmount(path string, flags int) (err error) { | 1562 | func Unmount(path string, flags int) (err error) { |
1428 | var _p0 *byte | 1563 | var _p0 *byte |
1429 | _p0, err = BytePtrFromString(path) | 1564 | _p0, err = BytePtrFromString(path) |