shithub: npe

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