Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!stl!robobar!ronald From: ronald@robobar.co.uk (Ronald S H Khoo) Newsgroups: comp.lang.perl Subject: fwrite? Message-ID: <1991Jan7.144029.12478@robobar.co.uk> Date: 7 Jan 91 14:40:29 GMT Organization: Robobar Ltd., Perivale, Middx., ENGLAND. Lines: 20 Hasn't anyone ever felt the need for an fwrite interface ? I was looking at a perl clone of (John Haugh ? can't remember)'s utmp-dead-process reaper, and looks to me that it's not strictly speaking possible. (this goes through each utmp entry and modifies it in place if the user on that line no longer exists -- mainly intended for pty sessions, but also useful for "ct" dialback sessions) What I mean is, that with stdio: can't. no interface to fwrite. without stdio: well, there's no guarantee that stdio's fseek necessarily calls lseek at that moment, so if it doesn't, then I need a syslseek(). Have I got the wrong end of the stick ? -- ronald@robobar.co.uk +44 81 991 1142 (O) +44 71 229 7741 (H)