mirror of
https://github.com/troglobit/libite.git
synced 2026-10-21 11:19:38 +00:00
fsendfile(): Change return type size_t --> ssize_t
Most send/recv/read/write API's return -1 on error and today use the agreed upon type ssize_t for this purpose. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
b2f6721813
commit
6fdffeb355
2 files changed
+5
-4
No files matched your search
@@ -56,7 +56,7 @@ FILE *tempfile (void);
|
||||
ssize_t copyfile (char *src, char *dst, int len, int sym);
|
||||
int movefile (char *src, char *dst);
|
||||
int fcopyfile (FILE *src, FILE *dst);
|
||||
size_t fsendfile (FILE *src, FILE *dst, size_t len);
|
||||
ssize_t fsendfile (FILE *src, FILE *dst, size_t len);
|
||||
|
||||
int ifconfig (char *ifname, char *addr, char *mask, int up);
|
||||
|
||||
|
||||
Reference in new issue
Block a user