compatibility for pledge: stub for other platforms - twitch-go - twitch.tv web application in Go
(HTM) git clone git://git.codemadness.org/twitch-go
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 599ee5969e2f9862c03abe53b5f5312d91e5f7e4
(DIR) parent b29e7fba6bb3d17545c3f1263ca95759d6efa407
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 8 Sep 2017 22:33:52 +0200
compatibility for pledge: stub for other platforms
Diffstat:
A pledge.go | 8 ++++++++
1 file changed, 8 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/pledge.go b/pledge.go
@@ -0,0 +1,8 @@
+// +build !openbsd
+
+package main
+
+// Pledge implements its respective syscall. For more information see pledge(2).
+func Pledge(promises string, paths []string) (err error) {
+ return nil
+}