lkml.org 
[lkml]   [2000]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: SIGSEGV on fclose.
Date

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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.159 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site