Hey folks, Its been a while since I've talked to the group. I'm writing a unicon program that needs to set a timer. Has anyone every written a c loadfunc for setitimer and/or getitime so that the unicon program can trap SIGALRM and know when the interval has expired. Thought I would check to see if anyone had already done it before trying to build it.
#include <sys/time.h> int getitimer(int which, struct itimerval *curr_value); int setitimer(int which, const struct itimerval *new_value, struct itimerval *old_value); Thanks, Michael Meehan mee...@wwu.edu for work-related items only jmichaelmee...@gmail.com for non-work-related items only ________________________________________ From: Jafar Al-Gharaibeh <to.ja...@gmail.com> Sent: Thursday, November 10, 2016 2:36:12 PM To: Steve Wampler; Unicon Subject: Re: [Unicon-group] Resize Graphics window programatically? Steve, I tried the on my Ubuntu machine: procedure main() w := open("resize", "g", "size=400,400") Event(w) WAttrib(w, "size=800,400") Event(w) close(w) end It works as advertised. Want to test it at your end? --Jafar On Thu, Nov 10, 2016 at 4:27 PM Steve Wampler <swamp...@noao.edu<mailto:swamp...@noao.edu>> wrote: Is there any way to have Unicon code change the size of a screen window? I've tried using WAttrib("size="||x||","||y) as well as WAttrib("width="||x,"height="||y) both netiher works. -- Steve Wampler -- swamp...@noao.edu<mailto:swamp...@noao.edu> The gods that smiled on your birth are now laughing out loud. ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Unicon-group mailing list Unicon-group@lists.sourceforge.net<mailto:Unicon-group@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/unicon-group -- -- Sent From My Smartphone ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group