mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
unix: add AT_SYMLINK_FOLLOW const on openbsd
Change-Id: I60d7ce4a06e5a016cbb9fbf773a34748a5fd96f5 Reviewed-on: https://go-review.googlesource.com/c/sys/+/182899 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
6f551f7d2b
commit
6f217b454f
@@ -241,6 +241,7 @@ type Winsize C.struct_winsize
|
||||
|
||||
const (
|
||||
AT_FDCWD = C.AT_FDCWD
|
||||
AT_SYMLINK_FOLLOW = C.AT_SYMLINK_FOLLOW
|
||||
AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
|
||||
)
|
||||
|
||||
|
||||
@@ -436,6 +436,7 @@ type Winsize struct {
|
||||
|
||||
const (
|
||||
AT_FDCWD = -0x64
|
||||
AT_SYMLINK_FOLLOW = 0x4
|
||||
AT_SYMLINK_NOFOLLOW = 0x2
|
||||
)
|
||||
|
||||
|
||||
@@ -436,6 +436,7 @@ type Winsize struct {
|
||||
|
||||
const (
|
||||
AT_FDCWD = -0x64
|
||||
AT_SYMLINK_FOLLOW = 0x4
|
||||
AT_SYMLINK_NOFOLLOW = 0x2
|
||||
)
|
||||
|
||||
|
||||
@@ -437,6 +437,7 @@ type Winsize struct {
|
||||
|
||||
const (
|
||||
AT_FDCWD = -0x64
|
||||
AT_SYMLINK_FOLLOW = 0x4
|
||||
AT_SYMLINK_NOFOLLOW = 0x2
|
||||
)
|
||||
|
||||
|
||||
@@ -430,6 +430,7 @@ type Winsize struct {
|
||||
|
||||
const (
|
||||
AT_FDCWD = -0x64
|
||||
AT_SYMLINK_FOLLOW = 0x4
|
||||
AT_SYMLINK_NOFOLLOW = 0x2
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user