Need an internal name for fdopen().

This commit is contained in:
kleink 1998-10-13 14:07:04 +00:00
parent 802248ee1c
commit 8b3da7b7a8
3 changed files with 12 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: namespace.h,v 1.11 1998/10/08 13:49:17 kleink Exp $ */
/* $NetBSD: namespace.h,v 1.12 1998/10/13 14:07:04 kleink Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -138,6 +138,7 @@
#define execlp _execlp
#define execv _execv
#define execvp _execvp
#define fdopen _fdopen
#define fnmatch _fnmatch
#define ftok _ftok
#define fts_children _fts_children

View File

@ -1,4 +1,4 @@
/* $NetBSD: fdopen.c,v 1.7 1998/02/03 18:41:07 perry Exp $ */
/* $NetBSD: fdopen.c,v 1.8 1998/10/13 14:07:04 kleink Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -41,10 +41,11 @@
#if 0
static char sccsid[] = "@(#)fdopen.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: fdopen.c,v 1.7 1998/02/03 18:41:07 perry Exp $");
__RCSID("$NetBSD: fdopen.c,v 1.8 1998/10/13 14:07:04 kleink Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
@ -52,6 +53,10 @@ __RCSID("$NetBSD: fdopen.c,v 1.7 1998/02/03 18:41:07 perry Exp $");
#include <errno.h>
#include "local.h"
#ifdef __weak_alias
__weak_alias(fdopen,_fdopen);
#endif
FILE *
fdopen(fd, mode)
int fd;

View File

@ -1,4 +1,4 @@
/* $NetBSD: tmpfile.c,v 1.7 1998/06/01 20:19:46 kleink Exp $ */
/* $NetBSD: tmpfile.c,v 1.8 1998/10/13 14:07:04 kleink Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -41,10 +41,11 @@
#if 0
static char sccsid[] = "@(#)tmpfile.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: tmpfile.c,v 1.7 1998/06/01 20:19:46 kleink Exp $");
__RCSID("$NetBSD: tmpfile.c,v 1.8 1998/10/13 14:07:04 kleink Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>