Loading...
i386/sys/sendmsg.s Libc-320 Libc-391.5.22
--- Libc/Libc-320/i386/sys/sendmsg.s
+++ Libc/Libc-391.5.22/i386/sys/sendmsg.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(sendmsg, 3)
 	ret
+#else /* !__LP64__ */
+PSEUDO(sendmsg$UNIX2003, sendmsg, 3)
+	ret
+
+UNIX_SYSCALL_ERR(sendmsg, 3, cerror_cvt)
+	ret
+#endif /* !__LP64__ */