| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | genpmsg.c |
11 Jul 95 21:21, Paul Edwards wrote to All:
> fq = fopen("temp.pkt", "wb");
> if (fq != NULL)
> {
> fwrite(&rph, 1, sizeof rph, fq);
> fputc(0x02, fq);
> fputc(0x00, fq);
> fwrite(&rmh, 1, sizeof rmh, fq);
> fprintf(fq, "01 Jan 94 01:01:01");
Are you sure you can use fprintf() on a binary file ("wb") ?
andrew
--- Msgedsq/2 3.10
* Origin: This one HAS to be original X (3:633/267.1{at}fidonet)SEEN-BY: 50/99 632/348 998 633/246 252 253 260 267 371 373 634/384 635/503 SEEN-BY: 635/513 544 638/100 639/100 120 640/230 690/718 711/401 410 430 807 SEEN-BY: 711/808 809 934 713/888 800/1 7877/2809 @PATH: 633/267 252 371 635/503 50/99 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.