aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/linux.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-12-06 15:49:47 -0500
committerGitHub <noreply@github.com>2019-12-06 15:49:47 -0500
commit525b1e8fb4abc38143a6ae47272fd5d016ba7eeb (patch)
treeee16b05de3828936971df6d977e75d5825b10547 /lib/std/os/linux.zig
parentd28aa38db71a861fd2036efbb22e57c1d34a5615 (diff)
parent656cc33f8d49cb5e79cd3f9f8f56963747d43ed6 (diff)
downloadzig-525b1e8fb4abc38143a6ae47272fd5d016ba7eeb.tar.gz
zig-525b1e8fb4abc38143a6ae47272fd5d016ba7eeb.zip
Merge pull request #3856 from ziglang/builtin-call
introduce `@call` and remove other builtin calls
Diffstat (limited to 'lib/std/os/linux.zig')
-rw-r--r--lib/std/os/linux.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig
index e3d84e1e63..907fd24db1 100644
--- a/lib/std/os/linux.zig
+++ b/lib/std/os/linux.zig
@@ -94,7 +94,7 @@ pub fn fork() usize {
/// the compiler is not aware of how vfork affects control flow and you may
/// see different results in optimized builds.
pub inline fn vfork() usize {
- return @inlineCall(syscall0, SYS_vfork);
+ return @call(.{ .modifier = .always_inline }, syscall0, .{SYS_vfork});
}
pub fn futimens(fd: i32, times: *const [2]timespec) usize {