shithub: npe

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