1: #include <X/mit-copyright.h>
   2: 
   3: /* $Header: XGetFont.c,v 10.4 86/02/01 15:34:52 tony Rel $ */
   4: /* Copyright    Massachusetts Institute of Technology    1985	*/
   5: 
   6: #include "XlibInternal.h"
   7: Font XGetFont (name)
   8:     char *name;
   9: {
  10:     register XReq *req;
  11:     Display *dpy;
  12:     XRep rep;
  13:     int len;
  14: 
  15:     GetReq(X_GetFont, 0);
  16:     req->param.s[0] = len = strlen (name);
  17:     Data(dpy, name, len);
  18:     if (!_XReply(dpy, &rep))
  19:         return(NULL);
  20:     return (rep.param.l[0]);
  21: }
Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 526
Valid CSS Valid XHTML 1.0 Strict