C exiting with perror

前端 未结 0 754
猫巷女王i
猫巷女王i 2021-01-05 08:39

Which of the following is more \'correct\' when handling an error in C:

} else {
    perror("Error. Example usage: $ ./main file.py\\n");
    exit(E         


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