Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!sun-barr!apple!motcsd!hpda!hplabs!hp-ses!hpdml93!libbyb From: libbyb@hpdml93.HP.COM (Libby Bagley) Newsgroups: comp.lang.c Subject: fgets() for open() ?? Message-ID: <410002@hpdml93.HP.COM> Date: 29 Aug 89 18:31:17 GMT Organization: Hewlett Packard - Boise, ID Lines: 17 If I open a file using fopen(), I have the function fgets() available to me. If I open a file using open(), is there a function similar to fgets() that I can use? (Remember my reference into the file is no longer a file pointer, but an integer file descriptor.) The question comes up because I would like to lseek() a line at a time for variable length lines. Thanks for any help you can offer, Libby Bagley