|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 483 (0x1e3) Types: TextFile Names: »saxer4.c«
└─⟦db229ac7e⟧ Bits:30007240 EUUGD20: SSBA 1.2 / AFW Benchmarks └─⟦this⟧ »EUUGD20/AFUU-ssba1.21/ssba1.21E/saxer/saxer4.c« └─⟦this⟧ »EUUGD20/AFUU-ssba1.21/ssba1.21F/saxer/saxer4.c«
/* Program #4 John Saxer read bench */ #include <stdio.h> #ifndef BSIZE # define BSIZE BUFSIZ #endif #ifndef NBLOCKS # define NBLOCKS 2000 #endif main() { register int fd, i; char buf[BSIZE]; if ( ( fd=open("saxer.dat",0) ) == -1 ) { perror("saxer.dat"); exit(1); } for ( i=0; i<NBLOCKS; i++ ) read(fd,buf,BSIZE); close(fd); }