shithub: npe

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