android-cloexec-fopen¶
fopen() 应该在其模式字符串中包含 e; 因此 re 是有效的。这等同于在该描述符上设置了 FD_CLOEXEC on。
示例
fopen("fn", "r");
// becomes
fopen("fn", "re");
fopen() 应该在其模式字符串中包含 e; 因此 re 是有效的。这等同于在该描述符上设置了 FD_CLOEXEC on。
示例
fopen("fn", "r");
// becomes
fopen("fn", "re");