diff options
author | Narayan Kamath <narayan@google.com> | 2015-01-16 18:52:52 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-01-19 16:15:25 +0000 |
commit | 30c669166d86d0bd133edfb67909665fb41d29b6 (patch) | |
tree | 244ca599b086f9c70508996020a6cabbae916812 /luni/src/main/java/android | |
parent | 9169032f055cb8f007fcb9df979518177e22c833 (diff) | |
download | libcore-30c669166d86d0bd133edfb67909665fb41d29b6.zip libcore-30c669166d86d0bd133edfb67909665fb41d29b6.tar.gz libcore-30c669166d86d0bd133edfb67909665fb41d29b6.tar.bz2 |
Remove fcntlLong, use fcntlInt for F_SETFD instead.
fcntlLong works too, but only because of the syscall conventions
happen to place the lower 32 bits of our jlong in the right register.
This change also gets rid of fcntlLong because there aren't any
documented fcntl calls that take a 64 bit integer argument.
Change-Id: I8d187d5b906195fc663675a07a5f116dcd210d16
Diffstat (limited to 'luni/src/main/java/android')
-rw-r--r-- | luni/src/main/java/android/system/Os.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/luni/src/main/java/android/system/Os.java b/luni/src/main/java/android/system/Os.java index 73b999a..8028f23 100644 --- a/luni/src/main/java/android/system/Os.java +++ b/luni/src/main/java/android/system/Os.java @@ -111,7 +111,6 @@ public final class Os { /** @hide */ public static int fcntlFlock(FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, InterruptedIOException { return Libcore.os.fcntlFlock(fd, cmd, arg); } /** @hide */ public static int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException { return Libcore.os.fcntlInt(fd, cmd, arg); } - /** @hide */ public static int fcntlLong(FileDescriptor fd, int cmd, long arg) throws ErrnoException { return Libcore.os.fcntlLong(fd, cmd, arg); } /** @hide */ public static int fcntlVoid(FileDescriptor fd, int cmd) throws ErrnoException { return Libcore.os.fcntlVoid(fd, cmd); } /** |