diff --git a/man2/splice.2 b/man2/splice.2 index d9c192a09..bbfad10f4 100644 --- a/man2/splice.2 +++ b/man2/splice.2 @@ -23,7 +23,7 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH SPLICE 2 2009-02-20 "Linux" "Linux Programmer's Manual" +.TH SPLICE 2 2009-09-15 "Linux" "Linux Programmer's Manual" .SH NAME splice \- splice data to/from a pipe .SH SYNOPSIS @@ -31,9 +31,10 @@ splice \- splice data to/from a pipe .B #define _GNU_SOURCE .B #include -.BI "long splice(int " fd_in ", loff_t *" off_in ", int " fd_out , -.BI " loff_t *" off_out ", size_t " len \ +.BI "ssize_t splice(int " fd_in ", loff_t *" off_in ", int " fd_out , +.BI " loff_t *" off_out ", size_t " len \ ", unsigned int " flags ); +.\" Return type was long before glibc 2.7 .fi .SH DESCRIPTION .BR splice () diff --git a/man2/tee.2 b/man2/tee.2 index 323bee520..9863ac74f 100644 --- a/man2/tee.2 +++ b/man2/tee.2 @@ -23,7 +23,7 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH TEE 2 2006-04-28 "Linux" "Linux Programmer's Manual" +.TH TEE 2 2009-09-15 "Linux" "Linux Programmer's Manual" .SH NAME tee \- duplicating pipe content .SH SYNOPSIS @@ -31,9 +31,10 @@ tee \- duplicating pipe content .B #define _GNU_SOURCE .B #include -.BI "long tee(int " fd_in ", int " fd_out ", size_t " len \ +.BI "ssize_t tee(int " fd_in ", int " fd_out ", size_t " len \ ", unsigned int " flags ); .fi +.\" Return type was long before glibc 2.7 .SH DESCRIPTION .\" Example programs http://brick.kernel.dk/snaps .\" diff --git a/man2/vmsplice.2 b/man2/vmsplice.2 index 2c95893d2..8685b4965 100644 --- a/man2/vmsplice.2 +++ b/man2/vmsplice.2 @@ -23,7 +23,7 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH VMSPLICE 2 2006-04-28 "Linux" "Linux Programmer's Manual" +.TH VMSPLICE 2 2009-09-15 "Linux" "Linux Programmer's Manual" .SH NAME vmsplice \- splice user pages into a pipe .SH SYNOPSIS @@ -32,9 +32,10 @@ vmsplice \- splice user pages into a pipe .B #include .B #include -.BI "long vmsplice(int " fd ", const struct iovec *" iov , -.BI " unsigned long " nr_segs ", unsigned int " flags ); +.BI "ssize_t vmsplice(int " fd ", const struct iovec *" iov , +.BI " unsigned long " nr_segs ", unsigned int " flags ); .fi +.\" Return type was long before glibc 2.7 .SH DESCRIPTION .\" Linus: vmsplice() system call to basically do a "write to .\" the buffer", but using the reference counting and VM traversal