| ... | ... | @@ -685,15 +685,6 @@ pub fn fork() usize { |
| 685 | 685 | } |
| 686 | 686 | } |
| 687 | 687 | |
| 688 | | /// This must be inline, and inline call the syscall function, because if the |
| 689 | | /// child does a return it will clobber the parent's stack. |
| 690 | | /// It is advised to avoid this function and use clone instead, because |
| 691 | | /// the compiler is not aware of how vfork affects control flow and you may |
| 692 | | /// see different results in optimized builds. |
| 693 | | pub inline fn vfork() usize { |
| 694 | | return @call(.always_inline, syscall0, .{.vfork}); |
| 695 | | } |
| 696 | | |
| 697 | 688 | pub fn futimens(fd: fd_t, times: ?*const [2]timespec) usize { |
| 698 | 689 | return utimensat(fd, null, times, 0); |
| 699 | 690 | } |