From c2063191c35b57831414ed9a48e549ba3d2d2321 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 24 Apr 2001 13:36:50 +0000 Subject: send returns ssize_t. --- sysdeps/mach/hurd/sendto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/mach/hurd/sendto.c') diff --git a/sysdeps/mach/hurd/sendto.c b/sysdeps/mach/hurd/sendto.c index 4f0ada7141..6f410683a6 100644 --- a/sysdeps/mach/hurd/sendto.c +++ b/sysdeps/mach/hurd/sendto.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1995, 1996, 1997, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1995, 1996, 1997, 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -26,7 +26,7 @@ /* Send N bytes of BUF on socket FD to peer at address ADDR (which is ADDR_LEN bytes long). Returns the number sent, or -1 for errors. */ -int +ssize_t sendto (int fd, const void *buf, size_t n, -- cgit v1.2.3