if (!(oflags & (O_RDWR | O_WRONLY)) || oflags & O_RDONLY) dbflags |= DB_RDONLY;
__db_oflags(oflags)	int oflags;{	u_int32_t dbflags;	/*	 * XXX	 * Convert POSIX 1003.1 open(2) flags to DB flags.  Not an exact	 * science as most POSIX implementations don't have a flag value	 * for O_RDONLY, it's simply the lack of a write flag.	 */	dbflags = 0;	if (oflags & O_CREAT)		dbflags |= DB_CREATE;	if (!(oflags & (O_RDWR | O_WRONLY)) || oflags & O_RDONLY)		dbflags |= DB_RDONLY;	if (oflags & O_TRUNC)		dbflags |= DB_TRUNCATE;	return (dbflags);}