diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-07-29 13:59:42 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-07-29 13:59:42 +0000 |
commit | ace38fb7879fc0747a14d7de6cf913b01b5744db (patch) | |
tree | fa47bd87690f1e60e753f4db26f055d0baed1d94 /testsuites/libtests/POSIX/iconv_close.c | |
parent | 2011-07-29 Jennifer Averett <Jennifer.Averett@OARcorp.com> (diff) | |
download | rtems-ace38fb7879fc0747a14d7de6cf913b01b5744db.tar.bz2 |
2011-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* POSIX/iconv.c, POSIX/iconv_open.c, POSIX/iconv_close.c: New.
* POSIX/Makefile.am: Add iconv, iconv_open, iconv_close.
Diffstat (limited to 'testsuites/libtests/POSIX/iconv_close.c')
-rw-r--r-- | testsuites/libtests/POSIX/iconv_close.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testsuites/libtests/POSIX/iconv_close.c b/testsuites/libtests/POSIX/iconv_close.c new file mode 100644 index 0000000000..3a15788c7d --- /dev/null +++ b/testsuites/libtests/POSIX/iconv_close.c @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2011 by + * Ralf Corsépius, Ulm, Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <iconv.h> + +int +main (void) +{ + iconv_t cd = NULL; + int ret; + + ret = iconv_close(cd); + + return 0; +} |