shithub: npe

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