FreeBSD/contrib/ntp/tests/ntpd/t-ntp_signd.c
//this connect function overrides/mocks connect() from  <sys/socket.h>
this connect function overrides/mocks connect() from  
this connect function overrides / mocks connect () from
int
connect(int socket, const struct sockaddr *address, socklen_t address_len)
{
	return 1;
}
int connect ( int socket , const struct sockaddr * address , socklen_t address_len ) { return 1 ; }
this connect function overrides/mocks connect() from  <sys/socket.h>
this connect function overrides / mocks connect () from <sys / socket . h >