Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!ut-sally!husc6!cmcl2!brl-adm!adm!MISS026%ECNCDC.BITNET@wiscvm.wisc.EDU From: MISS026%ECNCDC.BITNET@wiscvm.wisc.EDU (GREENY) Newsgroups: comp.lang.c Subject: stream sampler needed Message-ID: <8233@brl-adm.ARPA> Date: Thu, 9-Jul-87 11:24:36 EDT Article-I.D.: brl-adm.8233 Posted: Thu Jul 9 11:24:36 1987 Date-Received: Sun, 12-Jul-87 04:55:21 EDT Sender: news@brl-adm.ARPA Lines: 17 Hi all... I was wondering if anyone had any source code to sample a continous stream of data, throwing away (/dev/null) what wasnt sampled. Basically i have a continous stream of data and I would like to wait until I get a specific character, and then capture the next 13 characters. Any suggestions? Im trying not to re-invent the wheel or do something the long way.... bye for now but not for long... Greeny Bitnet: Miss026@ecncdc Internet: miss026%ecncdc.bitnet@wiscvm.wisc.edu Disclaimer: What? Who? me? nope...not me...you *must* have the wrong hacker