shithub: npe

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