Re: Getting number of pipes in a system

New Message Reply Date view Thread view Subject view Author view

From: John Kelso (kelso++at++vt.edu)
Date: 06/19/2001 06:50:25


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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Jun 19 2001 - 06:51:09 PDT

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