Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

zzip_fclose, zzip_close - end usage.

Author

        Guido Draheim <guidod@gmx.de> Tomi Ollila <Tomi.Ollila@iki.fi>

Description

        The zzip_fclose function closes the given ZZIP_FILE handle.

        If the ZZIP_FILE wraps a normal stat'fd then it is just that int'fd that is being closed and the
       otherwise empty ZZIP_FILE gets freed.

Name

       zzip_fclose, zzip_close -  end usage.

Synopsis

#include<zzip/lib.h>

       int
       zzip_fclose(ZZIP_FILE* fp)

       int
       zzip_close(ZZIP_FILE* fp)

See Also