Skip to content

Commit f7d16bc

Browse files
committed
haiku: Add missing lutimes
* BeOS traditionally didn't have lutimes, however to make Haiku more compatible and easier to port for, we added an implementation of it.
1 parent 614199a commit f7d16bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/haiku/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1112,6 +1112,7 @@ extern {
11121112
addrlen: *mut ::socklen_t) -> ::ssize_t;
11131113
pub fn mkstemps(template: *mut ::c_char, suffixlen: ::c_int) -> ::c_int;
11141114
pub fn futimes(fd: ::c_int, times: *const ::timeval) -> ::c_int;
1115+
pub fn lutimes(file: *const ::c_char, times: *const ::timeval) -> ::c_int;
11151116
pub fn nl_langinfo(item: ::nl_item) -> *mut ::c_char;
11161117

11171118
pub fn bind(socket: ::c_int, address: *const ::sockaddr,

0 commit comments

Comments
 (0)