|
|
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 - metrics - download
Length: 231 (0xe7)
Types: TextFile
Notes: UNIX file
Names: »bwrite.c«
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
└─⟦2d53db1df⟧ UNIX Filesystem
└─⟦this⟧ »frankh/lib/bwrite.c«
/*
* block write
*/
#include <flib.h>
bwrite(fdo, blk, db)
long blk, lseek();
unsigned char *db;
register int fdo;
{
lseek(fdo, blk*512L, 0);
if (write(fdo, db, BLKSIZ) != BLKSIZ)
printf("btst: bwrite: Bad write!\n");
}