On Thu, 4 Jan 2001, George Greer wrote:
> Hint: FILE *writetome = popen("ftp members.home.net &");
Um...
FILE *writetome = popen("ftp members.home.net &", "w");
Then you can change the other system() calls to fputs(), write(),
fprintf(), etc. and toss a 'pclose(writetome)' at the bottom. You'll be
lacking error control this way.
I'd still recommend a separate process though.
--
George Greer
greerga@circlemud.org
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/03/01 PST