python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Create a FileDescriptor object on Android
I want to convert the filedescriptor (int) obtained from native to filedescriptor (Java object)
//native
int fd = open(......);
Why doesn't example 1 work? Maybe in theory?
//eg 1:
FileDescriptor m...

Qiuyan Su
Votes: 0
Answers: 0
How to use ndk file_descriptor_jni.h?
I want to create a Java FileDescriptor object on C!
There are too few related instructions.
It has been tried for a long time and cannot be called successfully.
AFileDescriptor_create(JNIEnv *env)
AF...

Qiuyan Su
Votes: 0
Answers: 0
What object types that are referenced by file descriptors?
I was wondering what object types are implemented as file descriptors in Posix/Unix.
I could not find a list, so I looked at the references in man pages for close() and select() (because those are sup...
kuga
Votes: 0
Answers: 1
write() undefined behavior
I've this code in which I receive a server response, check if it's a successful one, and if it is - create the file under the requested path and then write the response body to the file:
I'm testing i...
RedYoel
Votes: 0
Answers: 1