summaryrefslogtreecommitdiff
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
parentd8c4fd9aef9137b04e4311a1f50024ab88d4c6e3 (diff)
Godoc comments.
-rw-r--r--crypt/crypt.go2
-rw-r--r--dl/dl_gnu.go3
-rw-r--r--getgr/getgr.go4
-rw-r--r--inotify/bits.go9
4 files changed, 13 insertions, 5 deletions
diff --git a/crypt/crypt.go b/crypt/crypt.go
index 40b5149..71142b7 100644
--- a/crypt/crypt.go
+++ b/crypt/crypt.go
@@ -17,7 +17,7 @@
// Package crypt provides an interface to the POSIX CRYPT option
// group.
//
-// Actually, it doesn't yet support encrypt() or setkey()
+// BUG(lukeshu) The package doesn't yet support encrypt() or setkey()
package crypt
import "unsafe"
diff --git a/dl/dl_gnu.go b/dl/dl_gnu.go
index 771e9c4..e694980 100644
--- a/dl/dl_gnu.go
+++ b/dl/dl_gnu.go
@@ -66,6 +66,9 @@ const (
RTLD_DEEPBIND Flag = C.RTLD_DEEPBIND // (since glibc 2.3.4)
)
+// BUG(lukeshu) GNU extension flags are implemented, but GNU extension
+// functions are not.
+
// TODO: dlmopen
// TODO: dlvsym
// TODO: dladdr
diff --git a/getgr/getgr.go b/getgr/getgr.go
index 5e32826..7757e2e 100644
--- a/getgr/getgr.go
+++ b/getgr/getgr.go
@@ -1,4 +1,4 @@
-// Copyright 2015 Luke Shumaker <lukeshu@sbcglobal.net>.
+// Copyright 2015-2016 Luke Shumaker <lukeshu@sbcglobal.net>.
//
// This is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as
@@ -16,6 +16,8 @@
// Package getgr provides an interface to query the POSIX group
// database.
+//
+// BUG(lukeshu) This package should be renamed to "nss" and expanded.
package getgr
import (
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