Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!convex!usenet From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.lang.perl Subject: Re: can't get ioctl value Message-ID: <1991May16.132658.28435@convex.com> Date: 16 May 91 13:26:58 GMT References: <1991May15.003413.22693@csl.dl.nec.com> Sender: usenet@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 13 Nntp-Posting-Host: pixel.convex.com From the keyboard of harrison@csl.dl.nec.com (Mark Harrison): :I am having a problem getting the value needed for an TIOCGWINSZ (get :window size) ioctl. If I hardcode the value printed by the C program, :everything works correctly. I have run "h2ph * */*" in /usr/include. : :Anybody have a clue? Thanks in advance! Try checking $@ after the function call. --tom -- Tom Christiansen tchrist@convex.com convex!tchrist "So much mail, so little time."