aboutsummaryrefslogtreecommitdiff
path: root/src/darwin_c.zig
blob: 21080ea859e6334a95a45a00c5b0f41a57b32885 (plain) (blame)
1
2
3
4
5
6
7
8
pub usingnamespace @import("std").c.builtins;

// int clonefileat(int src_dirfd, const char * src, int dst_dirfd, const char * dst, int flags);
pub extern "c" fn clonefileat(c_int, [*c]const u8, c_int, [*c]const u8, uint32_t: c_int) c_int;
// int fclonefileat(int srcfd, int dst_dirfd, const char * dst, int flags);
pub extern "c" fn fclonefileat(c_int, c_int, [*c]const u8, uint32_t: c_int) c_int;
// int clonefile(const char * src, const char * dst, int flags);
pub extern "c" fn clonefile([*c]const u8, [*c]const u8, uint32_t: c_int) c_int;