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