Right! While writing an application, before you know it, you're using
a system-specific feature or extension. If only manual pages would at
least tell me what's POSIX and what's a linux extension.
For example the "select" manpage for Linux is good in that respect:
> On Linux, timeout is modified to reflect the amount of time not
> slept; most other implementations do not do this. This causes
> problems both when Linux code which reads timeout is ported to other
> operating systems, and when code is ported to Linux that reuses a
> struct timeval for multiple selects in a loop without reinitializing
> it. Consider timeout to be undefined after select returns.
Roger.
-- ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 ** *-- BitWizard writes Linux device drivers for any device you may have! --* "I didn't say it was your fault. I said I was going to blame it on you."- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/