Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hp-ses!hpcuhb!hpcllla!hpclisp!hpclscu!shankar From: shankar@hpclscu.HP.COM (Shankar Unni) Newsgroups: comp.lang.c Subject: Re: fgets() for open() ?? Message-ID: <660058@hpclscu.HP.COM> Date: 31 Aug 89 20:55:46 GMT References: <410002@hpdml93.HP.COM> Organization: Hewlett-Packard Calif. Language Lab Lines: 10 > The question comes up because I would like to > lseek() a line at a time for variable length > lines. Try using "fdopen()" to attach a FILE buffer to the open file descriptor. Then you can use "fgets", etc. ----- Shankar Unni E-Mail: Hewlett-Packard California Language Lab. Internet: shankar@hpda.hp.com Phone : (408) 447-5797 UUCP: ...!hplabs!hpda!shankar