[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] sysbind.h and mintbind.h

Am Sonntag, den 10.10.2010, 14:23 +0200 schrieb Vincent Rivière
> On 10/10/2010 00:58, m0n0 wrote:
>> There exist 2 files with much content which could be shared: sysbind.h
>> and mintbind.h, why is it in both files? Why is sysbind.h needed?
>> What's the purpose of sysbind.h ?
> osbind.h, falcon.h and mintbind.h are the old, manually written headers.
> sysbind.h is the new one, auto-generated from some description file.
> Frank started to work on that stuff, but it was not fully finished.

OK, thanks for the info. 
There was probably an good reason why Fpoll is commented out...  and in
some files you can see stuff like: 

#ifdef Fpoll
// emulate fpoll for now

The whole select/poll thing seems to be a bit "rudimentary" - that's my
impression after reading the comments. 
After reading the comments I'm not expecting the select/poll functions
to work flawlessly in any situation.
It seems the select error I'm encountering is within the userland
functions, not within inet4.xdd - because now I'm sure inet4.xdd
tcp_select returns the right value... but the Poll functions still
return unexpected results...