source: rtems/testsuites/libtests/POSIX/iconv_close.c @ ace38fb

4.115
Last change on this file since ace38fb was ace38fb, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/29/11 at 13:59:42

2011-07-29 Ralf Corsépius <ralf.corsepius@…>

  • POSIX/iconv.c, POSIX/iconv_open.c, POSIX/iconv_close.c: New.
  • POSIX/Makefile.am: Add iconv, iconv_open, iconv_close.
  • Property mode set to 100644
File size: 378 bytes
Line 
1/*
2 * Copyright (c) 2011 by
3 * Ralf Corsépius, Ulm, Germany. All rights reserved.
4 *
5 * Permission to use, copy, modify, and distribute this software
6 * is freely granted, provided that this notice is preserved.
7 */
8
9#ifdef HAVE_CONFIG_H
10#include "config.h"
11#endif
12
13#include <iconv.h>
14
15int
16main (void)
17{
18  iconv_t cd = NULL;
19  int ret;
20
21  ret = iconv_close(cd);
22
23  return 0;
24}
Note: See TracBrowser for help on using the repository browser.