shithub: npe

ref: fd731d3c833d9241fdff618b6c949453fb5c0f31
dir: /iconv.h/

View raw version
#ifndef _iconv_h_
#define _iconv_h_

#include "plan9.h"
#include <stdint.h>

typedef struct iconv_s *iconv_t;
#pragma incomplete struct iconv_s

iconv_t iconv_open(char *to, char *from);
void iconv_close(iconv_t);
size_t iconv(iconv_t cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft);

#endif