
/* Code covered under 3-Clause BSD License - see LICENSE file for details */

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>


int
main(argc, argv)
	int	argc;
	char	*argv[];
{
	register int ncalls;

	if (argc < 2) {
		printf("usage: %s #syscalls\n", argv[0]);
		exit(1);
	}

	ncalls = atoi(argv[1]);

	while (ncalls-- > 0)
		(void) getpid();

	return 0;
}

