Re: microblaze syscall list

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

 



On Monday 05 May 2008, H. Peter Anvin wrote:
> Michal Simek wrote:
> > /* fs/select.c */
> >       .long sys_select /* obsolete -> sys_pselect6 */
> > ok    .long sys_pselect7
> >       .long sys_pselect6 /* obsolete -> sys_pselect7 */
> 
> I thought there was some semantic differences between select() and 
> pselect()... perhaps those changes have been removed?

According to the main page, there are three differences:

* POSIX pselect does not update the timeout argument, but linux pselect7
does, so it's easy to implement both pselect and select based on it.
* pselect also has a timespec arguement, not timeval as select, but that's
trivial to convert.
* pselect obviously takes an extra argument, but if that's NULL, it will
behave like select (aside from the timeout handling).

	Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux