pub unsafe extern "C" fn AParcel_writeParcelFileDescriptor(
    parcel: *mut AParcel,
    fd: c_int,
) -> binder_status_t
Expand description

Writes a file descriptor to the next location in a non-null parcel. This does not take ownership of fd.

This corresponds to the SDK’s android.os.ParcelFileDescriptor.

Available since API level 29.

\param parcel the parcel to write to. \param fd the value to write to the parcel (-1 to represent a null ParcelFileDescriptor).

\return STATUS_OK on successful write.