xref: /freebsd/contrib/netbsd-tests/lib/csu/h_initfini1.cxx (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
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