Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:24:33

0001 /*
0002  * Copyright (c) 2011 by
0003  * Ralf Corsépius, Ulm, Germany. All rights reserved.
0004  *
0005  * Permission to use, copy, modify, and distribute this software
0006  * is freely granted, provided that this notice is preserved.
0007  */
0008 
0009 #ifdef HAVE_CONFIG_H
0010 #include "config.h"
0011 #endif
0012 
0013 #include <iconv.h>
0014 
0015 int main(void)
0016 {
0017   iconv_t cd = NULL;
0018   char inbuf[42];
0019   size_t isize;
0020   char outbuf[42];
0021   size_t osize;
0022   size_t ret;
0023 
0024   char *i = inbuf;
0025   char *o = outbuf;
0026   ret = iconv(cd, &i, &isize, &o, &osize);
0027 
0028   return ret;
0029 }