Overview  Index  Help 
Standard ML Basis Library

POSIX_Sys_DB


structure POSIX_Sys_DB =
struct
  structure FS = POSIX_FileSys
  structure Passwd =
  struct
    datatype passwd =
             PWD of
             {
               name : string,
               uid : uid,
               gid : gid,
               home : string,
               shell : string
             }
    val name
    val uid
    val gid
    val home
    val shell
  end
  structure Group =
  struct
    datatype group = GROUP of {name : string, gid : gid, members : string list}
    val name
    val gid
    val members
  end
  type word = SysWord.word
  type uid = FS.uid
  type gid = FS.gid
  val cfun
  val getgrgid'
  val getgrnam'
  val getgrgid
  val getgrnam
  val getpwuid'
  val getpwnam'
  val getpwuid
  val getpwnam
end

 
Type detail

word

type word = SysWord.word


uid

type uid = FS.uid


gid

type gid = FS.gid

     
Value detail

cfun

val cfun


getgrgid'

val getgrgid'


getgrnam'

val getgrnam'


getgrgid

val getgrgid


getgrnam

val getgrnam


getpwuid'

val getpwuid'


getpwnam'

val getpwnam'


getpwuid

val getpwuid


getpwnam

val getpwnam

 


Overview  Index  Help 
Standard ML Basis Library

This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy.

Copyright © 2003 AT&T and Lucent Technologies. All rights reserved.

Permission is granted for internet users to make one paper copy for their own personal use. Further hardcopy reproduction is strictly prohibited. Permission to distribute the HTML document electronically on any medium other than the internet must be requested from the copyright holders by contacting the editors. Printed versions of the SML Basis Manual are available from Cambridge University Press. To order, please visit www.cup.org (North America) or www.cup.cam.ac.uk (outside North America).