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

Re: sockfd_put(sock)



sockfd_put(sock) calls fput(sock->file) wich calls __fput(sock_file)
wich I think releases the file descriptor to allow reuse from other
calls.

Am I right?


On Fri, 1 Oct 2004 12:21:04 +0530, Rakesh Jagota <j.rakesh@xxxxxxxxxxxxx> wrote:
> HI all,
> 
> Could u pl tell me what this function does?
> sockfd_put(sock);
> 
> I badly this info from the group.
> 
> Thanks in advance,
> rakesh
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
> 



-- 
Alberto Rodriguez Galdo
argaldo@xxxxxxxxx
http://www.igaelica.com/argaldonet/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/