MyFD
if (MyFD >= 0) {
MyFP = fdopen(MyFD, BIN_W);
|| (MyFD = safe_open3(MyPath, SAFE_MODE, 0600)) < 0
|| (MyFP = fdopen(MyFD, BIN_W)) == 0) {
MyFD = dup(MyFD); /* allow reopen of same file */