summaryrefslogtreecommitdiffstats
path: root/src/runtime/internal/syscall/defs_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/internal/syscall/defs_linux.go')
-rw-r--r--src/runtime/internal/syscall/defs_linux.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/runtime/internal/syscall/defs_linux.go b/src/runtime/internal/syscall/defs_linux.go
new file mode 100644
index 0000000..71f1fa1
--- /dev/null
+++ b/src/runtime/internal/syscall/defs_linux.go
@@ -0,0 +1,10 @@
+// Copyright 2022 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package syscall
+
+const (
+ F_SETFD = 2
+ FD_CLOEXEC = 1
+)