1/*- 2 * Copyright (c) 2002-2004 Tim J. Robbins. 3 * All rights reserved. 4 * 5 * Copyright (c) 2011 The FreeBSD Foundation 6 * All rights reserved. 7 * Portions of this software were developed by David Chisnall 8 * under sponsorship from the FreeBSD Foundation. --- 16 unchanged lines hidden (view full) --- 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/lib/libc/stdio/fgetwln.c 288032 2015-09-20 20:27:57Z rodrigc $"); |
34 35#include "namespace.h" 36#include <stdio.h> 37#include <wchar.h> 38#include "un-namespace.h" 39#include "libc_private.h" 40#include "local.h" 41#include "xlocale_private.h" 42 |
43wchar_t *fgetwln_l(FILE * __restrict, size_t *, locale_t); |
44 45wchar_t * 46fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale) 47{ 48 wint_t wc; 49 size_t len; 50 FIX_LOCALE(locale); 51 --- 30 unchanged lines hidden --- |