Loading...
i386/sys/socketpair.s Libc-320 Libc-391.5.22
--- Libc/Libc-320/i386/sys/socketpair.s
+++ Libc/Libc-391.5.22/i386/sys/socketpair.s
@@ -1,9 +1,7 @@
 /*
- * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 1999, 2006 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
- * 
- * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
  * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
@@ -25,7 +23,15 @@
 /*
  * Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  */
-#include "SYS.h"
+#include <SYS.h>
 
+#ifdef __LP64__
 UNIX_SYSCALL(socketpair, 5)
 	ret
+#else /* !__LP64__ */
+PSEUDO(socketpair$UNIX2003, socketpair, 5)
+	ret
+
+UNIX_SYSCALL_ERR(socketpair, 5, cerror_cvt)
+	ret
+#endif /* !__LP64__ */