mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
send returns ssize_t.
This commit is contained in:
@ -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
|
||||
@ -21,7 +21,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 (fd, buf, n, flags, addr, addr_len)
|
||||
int fd;
|
||||
__const __ptr_t buf;
|
||||
|
Reference in New Issue
Block a user