about summary refs log tree commit diff
path: root/sysdeps/generic/recvfrom.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-04-24 13:36:50 +0000
committerAndreas Jaeger <aj@suse.de>2001-04-24 13:36:50 +0000
commitc2063191c35b57831414ed9a48e549ba3d2d2321 (patch)
treef659fcb33d5d99e068ee3f3b080ac39ec1cdbfc0 /sysdeps/generic/recvfrom.c
parentdcea709aac90f307d27551cc3752744334292f97 (diff)
downloadglibc-c2063191c35b57831414ed9a48e549ba3d2d2321.tar.gz
glibc-c2063191c35b57831414ed9a48e549ba3d2d2321.tar.xz
glibc-c2063191c35b57831414ed9a48e549ba3d2d2321.zip
send returns ssize_t.
Diffstat (limited to 'sysdeps/generic/recvfrom.c')
-rw-r--r--sysdeps/generic/recvfrom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/recvfrom.c b/sysdeps/generic/recvfrom.c
index 35b281a2a1..acb1e98ef1 100644
--- a/sysdeps/generic/recvfrom.c
+++ b/sysdeps/generic/recvfrom.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 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
@@ -22,7 +22,7 @@
 /* Read N bytes into BUF through socket FD from peer
    at address ADDR (which is ADDR_LEN bytes long).
    Returns the number read or -1 for errors.  */
-int
+ssize_t
 recvfrom (fd, buf, n, flags, addr, addr_len)
      int fd;
      void *buf;