if fclose fails, is the file descriptor still open?

后端 未结 0 990
长情又很酷
长情又很酷 2021-02-04 22:14

imagine the following code running as a thread:

void *thread_worker(void *q){
 for(;;){
  int fd = some_queue_get(q);
  FILE         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题