summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--README.org17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.org b/README.org
index 7c347a8..883f956 100644
--- a/README.org
+++ b/README.org
@@ -63,3 +63,20 @@ func main() {
 	}
 }
 #+END_SRC
+** UnveilBlock
+UnveilBlock is just a wrapper around unix.UnveilBlock, it does nothing extra.
+You should use unix.UnveilBlock.
+
+#+BEGIN_SRC go
+package main
+
+import "tildegit.org/andinus/lynx"
+
+func main() {
+	// Block further unveil calls.
+	err = lynx.UnveilBlock()
+	if err != nil {
+		log.Fatal(err)
+	}
+}
+#+END_SRC