Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!telxon!ping!gorpong From: gorpong@ping.uucp (Gordon C. Galligher) Newsgroups: comp.lang.perl Subject: Re: How to do alarm()? Summary: get/setitimer only exists in BSD systems, I think. Message-ID: <1990Nov2.044030.16612@ping.uucp> Date: 2 Nov 90 04:40:30 GMT References: <1990Oct30.194343.27499@uvaarpa.Virginia.EDU> Organization: The 23rd. Century Lines: 19 In article <1990Oct30.194343.27499@uvaarpa.Virginia.EDU> worley@compass.uucp writes: >Well, here's the code I use: [..example using setitimer..] >4.2 systems, anyway). You can do setitimer() pretty straightforwardly I believe that setitimer only exists on BSD flavors of UNIX, and a solution based on this approach would be non-portable. Then again, I may be wrong, all I know is it does not exist on this here SCO UNIX box, which conforms to the SVID (System V Interface Definition). -- Gordon. -- Gordon C. Galligher 9127 Potter Rd. #2E Des. Plaines, Ill. 60016-4881 telxon!ping%gorpong@uunet.uu.net (not tested) (Is this even legal??) ...!uunet!telxon!ping!gorpong (tested) (And it works!) "It seems to me, Golan, that the advance of civilization is nothing but an exercise in the limiting of privacy." - Janov Pelorat -- _Foundation's Edge_