|
|
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: 377 (0x179)
Types: TextFile
Names: »syscall.c«
└─⟦db229ac7e⟧ Bits:30007240 EUUGD20: SSBA 1.2 / AFW Benchmarks
└─⟦this⟧ »EUUGD20/AFUU-ssba1.21/ssba1.21E/musbus/syscall.c«
└─⟦this⟧ »EUUGD20/AFUU-ssba1.21/ssba1.21F/musbus/syscall.c«
/*
* syscall -- sit in a loop calling the system
*
* $Header: syscall.c,v 3.4 87/06/22 14:32:54 kjmcdonell Beta $
*/
main(argc, argv)
int argc;
char *argv[];
{
int iter;
int i;
if (argc != 2) {
printf("Usage: %s count\n", argv[0]);
exit(1);
}
iter = atoi(argv[1]);
while (iter-- > 0) {
close(dup(0));
getpid();
getuid();
umask(022);
}
exit(0);
}