Re: Getting number of pipes in a system

New Message Reply Date view Thread view Subject view Author view

From: Brian Corrie (bcorrie++at++origin1.imti.nrc.ca)
Date: 06/26/2001 09:41:29


All,

No experience with getinvent() but my recollection is of ScreenCount not
returning terribly useful information on multi-pipe systems, especially when
they are configured with multiple keyboards etc. I unfortunately can't
remember the details, but don't be surprised if ScreenCount doesn't do exactly
what you want...

        Brian

> Hi,
>
> I've been using the data from getinvent(3) for this task. Is your method
> preferable?
>
> Thanks,
>
> -John
>
> From: Angus Dorbie <dorbie++at++sgi.com>
> Date: Mon, 18 Jun 2001 21:49:25 -0700
> Subject: Re: Getting number of pipes in a system
>
> Including /usr/include/X11/Xlib.h you'll be able to use ScreenCount, it
> looks like it's just a macro to read nscreens from a private(?) part of
> the display structure.
>
> Cheers,Angus.
>
>
> Allen Bierbaum wrote:
> >
> > I would like to be able to make sure that the value passed to
> > pfMultipipe() is in range for the system an app is executing on.
> >
> > Does anyone know a system command that will return the maximum number of
> > pipes in a system?
> >
> > -Allen
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Jun 26 2001 - 09:37:02 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.