shithub: npe

ref: 61db9b4fbe5ad66d0600bca8c39171c027ae2ecd
dir: /libnpe/iconv_close.c/

View raw version
#include <iconv.h>
#include "_iconv.h"

void
iconv_close(iconv_t ic)
{
	if(ic != nil){
		close(ic->fd);
		free(ic);
	}
}