Re: setmon within Performer program

New Message Reply Date view Thread view Subject view Author view

From: Marcin Romaszewicz (marcin++at++asmodean.engr.sgi.com)
Date: 12/13/2000 18:29:45


You could do a fork and exec to call setmon before you start opening
performer windows.

Take a look at the exec(2) and fork(2) manpages on their syntax, but the
general idea is that you fork a child process which then execs setmon. I
would also wait for setmon to finish it's work before continuing
execution by calling the wait(2) function. Pass in 0 for the statptr
parameter to wait(...);

-- Marcin

On Wed, 13 Dec 2000, G. Anthony Reina wrote:

> Is it possible to call setmon from within a Performer program?
>
> Presently, we're using '/usr/gfx/setmon -n STR_BOT' from the shell and
> then running the Performer program. I'd like to be able to do it from C.
>
> Thanks.
> -Tony Reina
>
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/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 : Wed Dec 13 2000 - 18:29:48 PST

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