]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/LibC/Stdio/fdopen.c
StdLib: Add isDirSep character classification macro and function. Implement several...
[mirror_edk2.git] / StdLib / LibC / Stdio / fdopen.c
index 3a728951f61253f7ea8dc516f00ddd993e53b4fd..4c6902396e8a03249f7b43b08130ff0c8e3eaa99 100644 (file)
@@ -1,6 +1,14 @@
-/*  $NetBSD: fdopen.c,v 1.14 2003/08/07 16:43:22 agc Exp $  */\r
+/** @file\r
+\r
+  Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials are licensed and made available under\r
+  the terms and conditions of the BSD License that accompanies this distribution.\r
+  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
-/*-\r
  * Copyright (c) 1990, 1993\r
  *  The Regents of the University of California.  All rights reserved.\r
  *\r
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\r
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r
  * SUCH DAMAGE.\r
- */\r
+\r
+    NetBSD: fdopen.c,v 1.14 2003/08/07 16:43:22 agc Exp\r
+    fdopen.c  8.1 (Berkeley) 6/4/93\r
+**/\r
 #include  <LibConfig.h>\r
 #include  <sys/EfiCdefs.h>\r
-#if defined(LIBC_SCCS) && !defined(lint)\r
-#if 0\r
-static char sccsid[] = "@(#)fdopen.c  8.1 (Berkeley) 6/4/93";\r
-#else\r
-__RCSID("$NetBSD: fdopen.c,v 1.14 2003/08/07 16:43:22 agc Exp $");\r
-#endif\r
-#endif /* LIBC_SCCS and not lint */\r
 \r
 #include  "namespace.h"\r
 #include  <sys/types.h>\r
@@ -47,8 +51,8 @@ __RCSID("$NetBSD: fdopen.c,v 1.14 2003/08/07 16:43:22 agc Exp $");
 #include  <assert.h>\r
 #include  <errno.h>\r
 #include  <fcntl.h>\r
-#include  <sys/EfiSysCall.h>\r
 #include  <stdio.h>\r
+#include  <unistd.h>\r
 \r
 #include  "reentrant.h"\r
 #include  "local.h"\r