Subject: Re: sendto(2) EINVAL / pacing problem
To: None <tech-net@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-net
Date: 02/09/2004 22:28:26
In article <20040209155315.GB1335@zhwin.ch>,
Christoph Kaegi <kgc@zhwin.ch> wrote:
>
>Would it be possible, to update the sendto(2) manpage to include
>this important hint?
>
>I'm using select and now it's not only the client, which times out
>anymore, but also the server. So maybe it's not a resource limit...
>
>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.

sendto /usr/src/sys/kern/uipc_syscalls.c
and then follow it to sendit()..

>Can I just use printf in the kernel?

Yes, you can.


christos