Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site sunybcs.UUCP Path: utzoo!linus!security!genrad!decvax!harpo!seismo!rochester!rocksvax!sunybcs!colonel From: colonel@sunybcs.UUCP (George Sicherman) Newsgroups: net.unix-wizards Subject: Re: fdopen() problem in stdio Message-ID: <650@sunybcs.UUCP> Date: Fri, 11-Nov-83 13:06:15 EST Article-I.D.: sunybcs.650 Posted: Fri Nov 11 13:06:15 1983 Date-Received: Mon, 14-Nov-83 07:33:30 EST References: <13400@sri-arpa.UUCP> Organization: SUNY/Buffalo Computer Science Lines: 5 he whole idea is unsound. stdio buffers ahead, so you cannot just abandon the stream and start another one. If you cannot find a way to use a single FILE pointer, you are better off read-ing char by char (to end-of-line?) and sscanf-ing.