2 * See the file LICENSE for redistribution information.
4 * Copyright (c) 1997, 2012 Oracle and/or its affiliates. All rights reserved.
18 __os_mkdir(env, name, mode)
27 dbenv = env == NULL ? NULL : env->dbenv;
30 FLD_ISSET(dbenv->verbose, DB_VERB_FILEOPS | DB_VERB_FILEOPS_ALL))
31 __db_msg(env, DB_STR_A("0013", "fileops: mkdir %s",
34 /* Make the directory, with paranoid permissions. */
35 TO_TSTRING(env, name, tname, ret);
38 RETRY_CHK(!CreateDirectory(tname, NULL), ret);
39 FREE_STRING(env, tname);
41 return (__os_posix_err(ret));