File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -214,6 +214,8 @@ extern "C" {
214
214
msgtyp : :: c_long ,
215
215
msgflg : :: c_int ,
216
216
) -> :: c_int ;
217
+
218
+ pub fn fdatasync ( fd : :: c_int ) -> :: c_int ;
217
219
}
218
220
219
221
cfg_if ! {
Original file line number Diff line number Diff line change @@ -227,6 +227,8 @@ extern "C" {
227
227
rqtp : * const :: timespec ,
228
228
rmtp : * mut :: timespec ,
229
229
) -> :: c_int ;
230
+
231
+ pub fn fdatasync ( fd : :: c_int ) -> :: c_int ;
230
232
}
231
233
232
234
cfg_if ! {
Original file line number Diff line number Diff line change @@ -1299,7 +1299,6 @@ extern "C" {
1299
1299
flags : :: c_int ,
1300
1300
) -> :: c_int ;
1301
1301
1302
- pub fn fdatasync ( fd : :: c_int ) -> :: c_int ;
1303
1302
pub fn posix_fallocate (
1304
1303
fd : :: c_int ,
1305
1304
offset : :: off_t ,
@@ -1499,6 +1498,12 @@ extern "C" {
1499
1498
needle : * const :: c_void ,
1500
1499
needlelen : :: size_t ,
1501
1500
) -> * mut :: c_void ;
1501
+
1502
+ pub fn nmount (
1503
+ iov : * mut :: iovec ,
1504
+ niov : :: c_uint ,
1505
+ flags : :: c_int
1506
+ ) -> :: c_int ;
1502
1507
}
1503
1508
1504
1509
#[ link( name = "util" ) ]
You can’t perform that action at this time.
0 commit comments