Overview  Index  Help 
Standard ML Basis Library

POSIX_SYS_DB


signature POSIX_SYS_DB =
sig
  structure Passwd :
  sig
    type passwd
    val name : passwd -> string
    val uid : passwd -> uid
    val gid : passwd -> gid
    val home : passwd -> string
    val shell : passwd -> string
  end
  structure Group :
  sig
    type group
    val name : group -> string
    val gid : group -> gid
    val members : group -> string list
  end
  eqtype uid
  eqtype gid
  val getgrgid : gid -> Group.group
  val getgrnam : string -> Group.group
  val getpwuid : uid -> Passwd.passwd
  val getpwnam : string -> Passwd.passwd
end

 
Type detail

uid

eqtype uid


gid

eqtype gid

     
Value detail

getgrgid

val getgrgid : gid -> Group.group


getgrnam

val getgrnam : string -> Group.group


getpwuid

val getpwuid : uid -> Passwd.passwd


getpwnam

val getpwnam : string -> Passwd.passwd

 


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).