Language

Os.Fchown(FileDescriptor, Int32, Int32) Method

Definition

See fchown(2).

[Android.Runtime.Register("fchown", "(Ljava/io/FileDescriptor;II)V", "")]
public static void Fchown(Java.IO.FileDescriptor? fd, int uid, int gid);
[<Android.Runtime.Register("fchown", "(Ljava/io/FileDescriptor;II)V", "")>]
static member Fchown : Java.IO.FileDescriptor * int * int -> unit

Parameters

fd
FileDescriptor

The descriptor of the file whose owner and group are changed.

uid
Int32

The new owner user ID, or -1 to keep the current owner.

gid
Int32

The new group ID, or -1 to keep the current group.

Attributes

Exceptions

Remarks

See fchown(2).

Java documentation for android.system.Os.fchown(java.io.FileDescriptor, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to