xref: /titanic_44/usr/src/lib/libsaveargs/tests/functional/align.c (revision 702941cd97e30d600c2c1275823bc58231b2c361)
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 int
test(long a,long b,long c,long d,long e)20*702941cdSRichard Lowe test(long a, long b, long c, long d, long e)
21*702941cdSRichard Lowe {
22*702941cdSRichard Lowe 	printf("%ld %ld %ld %ld %ld\n", a, b, c, d, e);
23*702941cdSRichard Lowe 	for (;;)
24*702941cdSRichard Lowe 		sleep(60);
25*702941cdSRichard Lowe }
26*702941cdSRichard Lowe 
27*702941cdSRichard Lowe int
main(int argc,char ** argv)28*702941cdSRichard Lowe main(int argc, char **argv)
29*702941cdSRichard Lowe {
30*702941cdSRichard Lowe 	test(1, 2, 3, 4, 5);
31*702941cdSRichard Lowe 	return (0);
32*702941cdSRichard Lowe }
33