Back to index

glibc  2.9
dat_wcscpy.c
Go to the documentation of this file.
00001 /*
00002  *  TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
00003  *
00004  *      FILE: dat_wcscpy.c
00005  *
00006  *      WCSCPY:  wchar_t *wcscpy (wchar_t *ws1, const wchar_t *ws2);
00007  */
00008 
00009 TST_WCSCPY tst_wcscpy_loc [] = {
00010 
00011     {  { Twcscpy, TST_LOC_de },
00012        {
00013            { {                { 0x00F1,0x00F2,0x00F3,0x0000     }, },    /* 1 */
00014              {        0,0,0,   { 0x00F1,0x00F2,0x00F3,0x0000, }  }, },
00015            { {                { 0x0000,0x00F2,0x00F3,0x0000     }, },    /* 2 */
00016              {        0,0,0,   { 0x0000,                 }  }, },
00017            { .is_last = 1 }
00018        }
00019     },
00020     {  { Twcscpy, TST_LOC_enUS },
00021        {
00022            { {                { 0x0041,0x0082,0x0043,0x0000     }, },    /* 1 */
00023              {        0,0,0,   { 0x0041,0x0082,0x0043,0x0000, }  }, },
00024            { {                { 0x0000,0x0082,0x0043,0x0000     }, },    /* 2 */
00025              {        0,0,0,   { 0x0000,                 }  }, },
00026            { .is_last = 1 }
00027        }
00028     },
00029     {  { Twcscpy, TST_LOC_eucJP },
00030        {
00031            { {                { 0x3041,0x0092,0x3043,0x0000     }, },    /* 1 */
00032              {        0,0,0,   { 0x3041,0x0092,0x3043,0x0000, }  }, },
00033            { {                { 0x0000,0x0092,0x3043,0x0000     }, },    /* 2 */
00034              {        0,0,0,   { 0x0000,                 }  }, },
00035            { .is_last = 1 }
00036        }
00037     },
00038     {  { Twcscpy, TST_LOC_end }}
00039 
00040 };