There are three options:
- clean up the kernel header so it works from user space
- get the appropriate definitions included in the libc
- include the definitions somewhere else, either in your application or in
some new library invented for the purpose.
In most cases the latter is probably best.
>Uggh! Does this not sound like a deficiency in the kernel interface to
>you? I really shouldn't have to do either of these. There should be a
>"userspace" version of the required data structures shouldn't there?
It's not really the kernel's job to provide the user space API.
p.
-
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/