Skip to content

Commit 8b6fb59

Browse files
authored
Declare seekdir and telldir for Android.
These declarations are the same as those for other platforms.
1 parent 3f9b323 commit 8b6fb59

File tree

1 file changed

+2
-0
lines changed
  • src/unix/linux_like/android

1 file changed

+2
-0
lines changed

src/unix/linux_like/android/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2465,6 +2465,8 @@ extern "C" {
24652465
pub fn setutent();
24662466
pub fn getutent() -> *mut utmp;
24672467

2468+
pub fn seekdir(dirp: *mut ::DIR, loc: ::c_long);
2469+
pub fn telldir(dirp: *mut ::DIR) -> ::c_long;
24682470
pub fn fallocate(
24692471
fd: ::c_int,
24702472
mode: ::c_int,

0 commit comments

Comments
 (0)