From: mdruiter AT cs DOT vu DOT nl Newsgroups: comp.os.msdos.djgpp Subject: Re: HTGET.C Date: 5 Aug 1998 14:15:23 GMT Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Lines: 34 Message-ID: <6q9pdr$fj$1@star.cs.vu.nl> References: <199808050018 DOT RAA10223 AT mail DOT pris DOT bc DOT ca> NNTP-Posting-Host: sloep09.cs.vu.nl User-Agent: tin/pre-1.4-980730 (UNIX) (SunOS/5.5.1 (sun4u)) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Mary Ellen Howitt wrote: > Does anyone know if MsecClock has an equivalent in DJGPP or if > vsscanf is in some c file out on the 'net? It was put in SOCK_PRN.C > of the LIBTCP files. Don't know about MsecClock, vsscanf will be in the next version of DJGPP. In the meantime, you can define it yourself: #include #include #include #include int vsscanf(const char *str, const char *fmt, va_list ap) { FILE _strbuf; _strbuf._flag = _IOREAD|_IOSTRG; _strbuf._ptr = _strbuf._base = unconst(str, char *); _strbuf._cnt = 0; while (*str++) _strbuf._cnt++; _strbuf._bufsiz = _strbuf._cnt; return _doscan(&_strbuf, fmt, ap); } Hope this helps. -- Groeten, Michel. http://www.cs.vu.nl/~mdruiter ____________ \ /====\ / "You know, Beavis, you need things that suck, \/ \/ to have things that are cool", Butt-Head.