ziglibc: migrate tee linux syscall (#31911)

Add the Linux syscall wrapper for `tee`.

Migrate the `tee` syscall from musl libc to zig libc.

langref: note `ssize_t` and `isize`  are ABI compatible

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31911
Reviewed-by: Andrew Kelley <andrew@ziglang.org>
Co-authored-by: David Senoner <seda18@rolmail.net>
Co-committed-by: David Senoner <seda18@rolmail.net>
This commit is contained in:
David Senoner
2026-04-18 07:30:43 +02:00
committed by Andrew Kelley
parent ff612334fa
commit 21914c7c01
5 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -525,7 +525,7 @@
</tr>
<tr>
<th scope="row">{#syntax#}isize{#endsyntax#}</th>
<td><code class="c">intptr_t</code></td>
<td><code class="c">intptr_t</code>, <code class="c">ssize_t</code></td>
<td>signed pointer sized integer</td>
</tr>
<tr>