How to get the mode of a file descriptor?

后端 未结 2 614
不知归路
不知归路 2020-12-21 16:03

I mean to use fdopen

FILE *fdopen(int fd, const char *mode);

In man pages, it is stated that \"The mode of the stream (one of

2条回答
提交回复
热议问题