1/*-
2 * Copyright (c) 2002-2004 Tim J. Robbins
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
--- 18 unchanged lines hidden (view full) ---
27/*
28 * Test program for wcsnrtombs().
29 *
30 * The function is tested with both the "C" ("POSIX") LC_CTYPE setting and
31 * "ja_JP.eucJP". Other encodings are not tested.
32 */
33
34#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: stable/10/lib/libc/tests/locale/wcsnrtombs_test.c 291178 2015-11-23 08:31:41Z ngie $");
36
37#include <errno.h>
38#include <limits.h>
39#include <locale.h>
40#include <stdio.h>
41#include <stdlib.h>
42#include <string.h>
43#include <wchar.h>
--- 152 unchanged lines hidden ---
2 * Copyright (c) 2002-2004 Tim J. Robbins
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
--- 18 unchanged lines hidden (view full) ---
27/*
28 * Test program for wcsnrtombs().
29 *
30 * The function is tested with both the "C" ("POSIX") LC_CTYPE setting and
31 * "ja_JP.eucJP". Other encodings are not tested.
32 */
33
34#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: stable/10/lib/libc/tests/locale/wcsnrtombs_test.c 291178 2015-11-23 08:31:41Z ngie $");
36
37#include <errno.h>
38#include <limits.h>
39#include <locale.h>
40#include <stdio.h>
41#include <stdlib.h>
42#include <string.h>
43#include <wchar.h>
--- 152 unchanged lines hidden ---