commit | 3f525d41c2acde2ae3309cf839d83d7f41ab2fe6 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jun 24 16:32:01 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Jun 24 19:03:31 2014 -0700 |
tree | 572f2b5a63ffbbec084c9f048f396856c228b9b0 | |
parent | 52f9b051c8bcb3d723b023a74d7d89ee45cf754c [diff] [blame] |
Add splice, tee, and vmsplice. Change-Id: I5f43380b88d776a8bb607b47dbbc5db5a2fe6163
diff --git a/libc/arch-arm64/syscalls/tee.S b/libc/arch-arm64/syscalls/tee.S new file mode 100644 index 0000000..d730076 --- /dev/null +++ b/libc/arch-arm64/syscalls/tee.S
@@ -0,0 +1,14 @@ +/* Generated by gensyscalls.py. Do not edit. */ + +#include <private/bionic_asm.h> + +ENTRY(tee) + mov x8, __NR_tee + svc #0 + + cmn x0, #(MAX_ERRNO + 1) + cneg x0, x0, hi + b.hi __set_errno + + ret +END(tee)