Subject: Re: sendto(2) EINVAL / pacing problem
To: None <tech-net@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-net
Date: 02/09/2004 15:53:54
> Hm, where do I find the file containing sendto()?
> By a quick search I only found src/lib/libc/net/send.c which calls
> sendto() itself.

There is none; it's one of the many syscalls that use the default
implementation on all architectures.  See src/lib/libc/sys/Makefile.inc
for the ASM= assignment (which includes sendto.S) and the snippet

${ASM}: ${ASMDEPS}
        printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' >${.TARGET}

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B