Need an internal name for fgetln().

This commit is contained in:
kleink 1998-10-16 12:39:54 +00:00
parent ae6ea9e14d
commit 73ef151b8c
2 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: namespace.h,v 1.24 1998/10/15 09:28:13 kleink Exp $ */
/* $NetBSD: namespace.h,v 1.25 1998/10/16 12:39:54 kleink Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -141,6 +141,7 @@
#define execv _execv
#define execvp _execvp
#define fdopen _fdopen
#define fgetln _fgetln
#define fnmatch _fnmatch
#define ftok _ftok
#define ftruncate _ftruncate

View File

@ -1,4 +1,4 @@
/* $NetBSD: fgetln.c,v 1.5 1998/02/03 18:41:08 perry Exp $ */
/* $NetBSD: fgetln.c,v 1.6 1998/10/16 12:39:54 kleink Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -41,16 +41,21 @@
#if 0
static char sccsid[] = "@(#)fgetline.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: fgetln.c,v 1.5 1998/02/03 18:41:08 perry Exp $");
__RCSID("$NetBSD: fgetln.c,v 1.6 1998/10/16 12:39:54 kleink Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "local.h"
#include "reentrant.h"
#ifdef __weak_alias
__weak_alias(fgetln,_fgetln);
#endif
int __slbexpand __P((FILE *, size_t));
/*