shithub: npe

ref: b1e4757d96ebe8c225737c61f3ace37cfd84d29f
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);
	}
}