xref: /aosp_15_r20/external/ltp/testcases/lib/tst_get_free_pids.c (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 
3 #define TST_NO_DEFAULT_MAIN
4 #include <stdio.h>
5 #include "tst_test.h"
6 
7 extern struct tst_test *tst_test;
8 
9 static struct tst_test test = {
10 };
11 
main(void)12 int main(void)
13 {
14 	/* force messages to be printed from new library */
15 	tst_test = &test;
16 
17 	printf("%i\n", tst_get_free_pids());
18 
19 	return 0;
20 }
21