xref: /freebsd/contrib/netbsd-tests/lib/csu/h_initfini1.cxx (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1 #include <unistd.h>
2 
3 int
4 main(void)
5 {
6 	static const char msg[] = "main executed\n";
7 	write(STDOUT_FILENO, msg, sizeof(msg) - 1);
8 	return 0;
9 }
10