Back to index

glibc  2.9
Defines | Functions | Variables
bug-ungetwc2.c File Reference
#include <errno.h>
#include <error.h>
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#include <wchar.h>
#include "../test-skeleton.c"

Go to the source code of this file.

Defines

#define _XOPEN_SOURCE   500
#define TEST_FUNCTION   do_test ()

Functions

static int do_test (void)

Variables

const char test_locale [] = "de_DE.UTF-8"
const wchar_t write_wchars [] = {L'A', 0x00C4, L'B', L'\0'}
size_t last_pos = 2
wint_t unget_wchar = L'C'
char * fname

Define Documentation

#define _XOPEN_SOURCE   500

Definition at line 1 of file bug-ungetwc2.c.

#define TEST_FUNCTION   do_test ()

Definition at line 19 of file bug-ungetwc2.c.


Function Documentation

static int do_test ( void  ) [static]

Variable Documentation

char* fname

Definition at line 15 of file bug-ungetwc2.c.

Definition at line 12 of file bug-ungetwc2.c.

const char test_locale[] = "de_DE.UTF-8"

Definition at line 9 of file bug-ungetwc2.c.

Definition at line 13 of file bug-ungetwc2.c.

const wchar_t write_wchars[] = {L'A', 0x00C4, L'B', L'\0'}

Definition at line 10 of file bug-ungetwc2.c.