Skip to content

Commit fc2e270

Browse files
authored
Merge pull request #3990 from devnexen/syncfs_illumos
illumos adding syncfs.
2 parents b63bf71 + d18863d commit fc2e270

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libc-test/semver/illumos.txt

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ pthread_attr_get_np
1212
pthread_attr_getstackaddr
1313
pthread_attr_setstack
1414
ptsname_r
15+
syncfs

src/unix/solarish/illumos.rs

+2
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,6 @@ extern "C" {
112112
pub fn getpagesizes2(pagesize: *mut ::size_t, nelem: ::c_int) -> ::c_int;
113113

114114
pub fn ptsname_r(fildes: ::c_int, name: *mut ::c_char, namelen: ::size_t) -> ::c_int;
115+
116+
pub fn syncfs(fd: ::c_int) -> ::c_int;
115117
}

0 commit comments

Comments
 (0)