From 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:07 +0200 Subject: Merging upstream version 6.7. Signed-off-by: Daniel Baumann --- man2/tee.2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'man2/tee.2') diff --git a/man2/tee.2 b/man2/tee.2 index 7a3a6b1..e9ae11f 100644 --- a/man2/tee.2 +++ b/man2/tee.2 @@ -3,7 +3,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH tee 2 2023-05-03 "Linux man-pages 6.05.01" +.TH tee 2 2023-10-31 "Linux man-pages 6.7" .SH NAME tee \- duplicating pipe content .SH LIBRARY @@ -13,7 +13,7 @@ Standard C library .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include -.PP +.P .BI "ssize_t tee(int " fd_in ", int " fd_out ", size_t " len \ ", unsigned int " flags ); .fi @@ -36,7 +36,7 @@ It does not consume the data that is duplicated from .IR fd_in ; therefore, that data can be copied by a subsequent .BR splice (2). -.PP +.P .I flags is a bit mask that is composed by ORing together zero or more of the following values: @@ -72,7 +72,7 @@ A return value of 0 means that there was no data to transfer, and it would not make sense to block, because there are no writers connected to the write end of the pipe referred to by .IR fd_in . -.PP +.P On error, .BR tee () returns \-1 and @@ -121,7 +121,7 @@ program using the .BR tee () system call. Here is an example of its use: -.PP +.P .in +4n .EX $ \fBdate | ./a.out out.log | cat\fP -- cgit v1.2.3