FFLAGS
tmp |= FFLAGS((long)SCARG(uap, arg)) & FCNTLFLAGS;
flags = FFLAGS(oflags);
flags = FFLAGS(SCARG(uap, flags));