aboutsummaryrefslogtreecommitdiff
path: root/libc/src/unix/bsd/apple/b32.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/unix/bsd/apple/b32.rs')
-rw-r--r--libc/src/unix/bsd/apple/b32.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/src/unix/bsd/apple/b32.rs b/libc/src/unix/bsd/apple/b32.rs
index 5dea472..907ab02 100644
--- a/libc/src/unix/bsd/apple/b32.rs
+++ b/libc/src/unix/bsd/apple/b32.rs
@@ -58,3 +58,9 @@ pub const __PTHREAD_RWLOCKATTR_SIZE__: usize = 12;
pub const TIOCTIMESTAMP: ::c_ulong = 0x40087459;
pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40087458;
+
+extern {
+ pub fn exchangedata(path1: *const ::c_char,
+ path2: *const ::c_char,
+ options: ::c_ulong) -> ::c_int;
+}