Messages in this thread | | | From | David Woodhouse <> | Subject | Re: SIGSEGV on fclose. | Date | Thu, 13 Jul 2000 10:35:32 +0100 |
| |
madsdyd@challenge.dk said: > The manpage says: > ERRORS > EBADF The argument stream is not an open stream.
It's _permitted_ to return EBADF. It doesn't don't _have_ to.
madsdyd@challenge.dk said: > I do not know a lot about the Linux file system, but I found this in > fs/open.c:
You're already dealing with a filedescriptor there. The "struct file *" within Linux is entirely different to the 'FILE *' in userspace.
-- dwmw2
- 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/
| |