|
DataMuseum.dkPresents historical artifacts from the history of: Commodore CBM-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Commodore CBM-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 242 (0xf2) Types: TextFile Notes: UNIX file Names: »stwrite.c«
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code └─⟦2d53db1df⟧ UNIX Filesystem └─ ⟦this⟧ »frankh/lib/stwrite.c«
/* * write a character string to a file. * */ #include <flib.h> int stwrite(fd, strng) FILE *fd; char *strng; { register int i; for (i = 0; strng[i] != 0; ++i) if (putc(strng[i], fd) == EOF) panic("stwrite: bad file write!\n"); }