Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/eXene/graph-util/get-dpy-sig.sml
ViewVC logotype

View of /sml/trunk/src/eXene/graph-util/get-dpy-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log

Revision 26 - (download) (annotate)
Thu Mar 12 01:05:49 1998 UTC (23 years, 4 months ago) by monnier
File size: 664 byte(s)
Initial revision
(* get-dpy-sig.sml
 * COPYRIGHT (c) 1998 Bell Labs, Lucent Technologies.
 * Utility code for getting the display name and authentication information.

signature GET_DPY =

  (* parse a string specifying a X display into its components. *)
    val parseDisplay : string -> {
	    host : string,
	    dpy : string,
	    screen : string

  (* given an optional display name, return the display and authentication
   * information.  If the argument is NONE, then we use the DISPLAY environment
   * variable if it is defined, and "" if it is not defined.
    val getDpy : string option -> (string * EXeneBase.authentication option)


ViewVC Help
Powered by ViewVC 1.0.0