kern_socket
error = kern_socket(uap->domain, uap->type, uap->protocol,
int kern_socket(int domain, int type, int protocol, int *res);