delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/03/22:30:13

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Can I query the WWW from a DJGPP program?
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <fiu60t0da045komjsr7g97covls5jhpjf4@4ax.com>
References: <8tu6jd$7o9$1 AT news DOT stortek DOT com> <9ld50t0bdc1j4447j7jc73k76u0pq3dg8g AT 4ax DOT com> <qbFM5.9131$mv2 DOT 29116 AT news2-win DOT server DOT ntlworld DOT com> <7ot60too6v9k256nb2854jkq9mp62igco1 AT 4ax DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 20
X-Trace: /Kkf2Lij3jps6gL82Vou4+xoI+LE38lDsBAs57Go47K9UKsF3G9CYc/Eu24c7OiwouuMsCm2b38Z!D6Wv19AwabtzW3YTu/VNITsiKLLWv8OGSqCsE93pwcWR5WtY7nNoO4U0quUSowyqtci6fZoD57PT!awkqSA==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Sat, 04 Nov 2000 02:54:06 GMT
Distribution: world
Date: Sat, 04 Nov 2000 02:54:06 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I wrote:

>int pull_html(const char *url)
>{
>  char url[], cmdline[256];
>  sprintf(cmdline, "lynx -source %s", url);
>  system("lynx -source foo.html > temp.tmp")
>}

oops... should have been

>  return system("lynx -source foo.html > temp.tmp");

-- 
<O
( \   GNOME vs. KDE: the game!
 X    http://pineight.8m.com/nes.htm

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019