Difference between seq_release and single_release ?
Pranay Srivastava
pranjas at gmail.com
Thu Apr 24 13:14:07 EDT 2014
On Apr 24, 2014 10:12 PM, "Abhijeet Kasurde" <abhijeetkasurde21 at gmail.com>
wrote:
>
> Hi All,
>
> What is difference between seq_release and single_release API ? Can
> someone explain particular use case of these APIs ?
>
>From the code seq_file.c ,it seems
seq_release compliments seq_open
While single_release for single_open.
There is a seq_operations structure which gets freed in single_release in
addition to seq_release.
> Thanks,
> Abhijeet Kasurde
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140424/b785c9ef/attachment.html
More information about the Kernelnewbies
mailing list