client/src/unifycr.c
int unifycr_fid_unlink(int fid)
{
    /* return data to free pools */
    unifycr_fid_truncate(fid, 0);

    /* finalize the storage we're using for this file */
    unifycr_fid_store_free(fid);

    /* set this file id as not in use */
    unifycr_filelist[fid].in_use = 0;

    /* add this id back to the free stack */
    unifycr_fid_free(fid);

    return UNIFYCR_SUCCESS;
}
/* delete a file id and return file its resources to free pools */
delete a file id and return file its resources to free pools
delete a file id and return file its resources to free pools
int unifycr_fid_unlink(int fid)
{
    unifycr_fid_truncate(fid, 0);
    unifycr_fid_store_free(fid);
    unifycr_filelist[fid].in_use = 0;
    unifycr_fid_free(fid);
    return UNIFYCR_SUCCESS;
}
int unifycr_fid_unlink ( int fid ) { unifycr_fid_truncate ( fid , 0 ) ; unifycr_fid_store_free ( fid ) ; unifycr_filelist [ fid ] . in_use = 0 ; unifycr_fid_free ( fid ) ; return UNIFYCR_SUCCESS ; }
delete a file id and return file its resources to free pools
delete a file id and return file its resources to free pools
/* return data to free pools */ /* finalize the storage we're using for this file */ /* set this file id as not in use */ /* add this id back to the free stack */