From 1bbd0e01e3dc3f70bd2d86cd6e1669422bfd6e66 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 18 Dec 2016 15:01:40 -0500 Subject: Godoc comments. --- crypt/crypt.go | 2 +- dl/dl_gnu.go | 3 +++ getgr/getgr.go | 4 +++- inotify/bits.go | 9 ++++++--- 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 . +// Copyright 2015-2016 Luke Shumaker . // // 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 @@ -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 -- cgit v1.1-4-g5e80