shithub: npe

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