/usr/x86_64-w64-mingw32/include/iconv.h is in win-iconv-mingw-w64-dev 0.0.8-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #ifndef _LIBICONV_H
#define _LIBICONV_H
#include <stddef.h>
#ifndef WINICONV_CONST
# ifdef ICONV_CONST
# define WINICONV_CONST ICONV_CONST
# else
# define WINICONV_CONST const
# endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
typedef void* iconv_t;
iconv_t iconv_open(const char *tocode, const char *fromcode);
int iconv_close(iconv_t cd);
size_t iconv(iconv_t cd, WINICONV_CONST char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
#ifdef __cplusplus
}
#endif
#endif
|