diff options
author | John Goerzen <jgoerzen@complete.org> | 2006-08-29 18:59:32 +0000 |
---|---|---|
committer | John Goerzen <jgoerzen@complete.org> | 2006-08-29 18:59:32 +0000 |
commit | 88beb9a9ba018a91023569b4da568e00949a46a7 (patch) | |
tree | 22a21a8d660cf3a5ba8cfbd39043e08d9f9d673a | |
parent | 20f1f4a35b77f9a512af99e275a8c926a08fad09 (diff) |
Added some Haddock docs for UserEntry and GroupEntry
-rw-r--r-- | System/Posix/User.hsc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/System/Posix/User.hsc b/System/Posix/User.hsc index cfa0879..fdbf98b 100644 --- a/System/Posix/User.hsc +++ b/System/Posix/User.hsc @@ -145,10 +145,10 @@ getEffectiveUserName = do data GroupEntry = GroupEntry { - groupName :: String, - groupPassword :: String, - groupID :: GroupID, - groupMembers :: [String] + groupName :: String, -- | The name of this group (gr_name) + groupPassword :: String, -- | The password for this group (gr_passwd) + groupID :: GroupID, -- | The unique numeric ID for this group (gr_gid) + groupMembers :: [String] -- | A list of zero or more usernames that are members (gr_mem) } -- | @getGroupEntryForID gid@ calls @getgrgid@ to obtain @@ -221,13 +221,13 @@ unpackGroupEntry ptr = do data UserEntry = UserEntry { - userName :: String, - userPassword :: String, - userID :: UserID, - userGroupID :: GroupID, - userGecos :: String, -- | Usually the real name for the user - homeDirectory :: String, - userShell :: String + userName :: String, -- | Textual name of this user (pw_name) + userPassword :: String, -- | Password -- may be empty or fake if shadow is in use (pw_passwd) + userID :: UserID, -- | Numeric ID for this user (pw_uid) + userGroupID :: GroupID, -- | Primary group ID (pw_gid) + userGecos :: String, -- | Usually the real name for the user (pw_gecos) + homeDirectory :: String, -- | Home directory (pw_dir) + userShell :: String -- | Default shell (pw_shell) } -- |