summaryrefslogtreecommitdiff
path: root/inotify
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-12-18 15:01:40 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-12-18 15:01:40 -0500
commit1bbd0e01e3dc3f70bd2d86cd6e1669422bfd6e66 (patch)
treebac3fbb2a77caf97d0303793606474282640e703 /inotify
parentd8c4fd9aef9137b04e4311a1f50024ab88d4c6e3 (diff)
Godoc comments.
Diffstat (limited to 'inotify')
-rw-r--r--inotify/bits.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/inotify/bits.go b/inotify/bits.go
index fa44f9b..a982e42 100644
--- a/inotify/bits.go
+++ b/inotify/bits.go
@@ -1,4 +1,4 @@
-// Copyright (C) 2015 Luke Shumaker
+// Copyright (C) 2015-2016 Luke Shumaker
//
// Many of the comments in this file are taken from the GNU libc
// header file <sys/inotify.h>
@@ -28,8 +28,11 @@ const (
IN_NONBLOCK int = 00004000
)
-type file int // File Descriptor
-type Wd int // Watch Descriptor
+// inFd is a File Descriptor.
+type inFd int
+
+// Wd is a Watch Descriptor.
+type Wd int
type Mask uint32