1*702941cdSRichard Lowe /* 2*702941cdSRichard Lowe * This file and its contents are supplied under the terms of the 3*702941cdSRichard Lowe * Common Development and Distribution License ("CDDL"), version 1.0. 4*702941cdSRichard Lowe * You may only use this file in accordance with the terms of version 5*702941cdSRichard Lowe * 1.0 of the CDDL. 6*702941cdSRichard Lowe * 7*702941cdSRichard Lowe * A full copy of the text of the CDDL should have accompanied this 8*702941cdSRichard Lowe * source. A copy of the CDDL is also available via the Internet at 9*702941cdSRichard Lowe * http://www.illumos.org/license/CDDL. 10*702941cdSRichard Lowe */ 11*702941cdSRichard Lowe 12*702941cdSRichard Lowe /* 13*702941cdSRichard Lowe * Copyright 2012, Richard Lowe. 14*702941cdSRichard Lowe */ 15*702941cdSRichard Lowe 16*702941cdSRichard Lowe #include <stdio.h> 17*702941cdSRichard Lowe #include <unistd.h> 18*702941cdSRichard Lowe 19*702941cdSRichard Lowe struct foo { 20*702941cdSRichard Lowe long a; 21*702941cdSRichard Lowe long b; 22*702941cdSRichard Lowe long c; 23*702941cdSRichard Lowe }; 24*702941cdSRichard Lowe 25*702941cdSRichard Lowe struct foo 26*702941cdSRichard Lowe test(long a, long b, long c, long d, long e, long f, long g, long h) 27*702941cdSRichard Lowe { 28*702941cdSRichard Lowe printf("%ld %ld %ld %ld %ld %ld %ld %ld\n", a, b, c, d, e, f, g, h); 29*702941cdSRichard Lowe for (;;) 30*702941cdSRichard Lowe sleep(60); 31*702941cdSRichard Lowe } 32*702941cdSRichard Lowe 33*702941cdSRichard Lowe int 34*702941cdSRichard Lowe main(int argc, char **argv) 35*702941cdSRichard Lowe { 36*702941cdSRichard Lowe test(1, 2, 3, 4, 5, 6, 7, 8); 37*702941cdSRichard Lowe return (0); 38*702941cdSRichard Lowe } 39