xref: /openbsd/gnu/usr.bin/cvs/windows-NT/mkdir.c (revision 1e72d8d2)
1*1e72d8d2Sderaadt /* mkdir.c --- mkdir for Windows NT
2*1e72d8d2Sderaadt    Jim Blandy <jimb@cyclic.com> --- July 1995  */
3*1e72d8d2Sderaadt 
4*1e72d8d2Sderaadt #include <assert.h>
5*1e72d8d2Sderaadt 
6*1e72d8d2Sderaadt #include "cvs.h"
7*1e72d8d2Sderaadt 
8*1e72d8d2Sderaadt int
wnt_mkdir(const char * path,int mode)9*1e72d8d2Sderaadt wnt_mkdir (const char *path, int mode)
10*1e72d8d2Sderaadt {
11*1e72d8d2Sderaadt   /* This is true for all extant calls to CVS_MKDIR.  If
12*1e72d8d2Sderaadt      someone adds a call that uses something else later,
13*1e72d8d2Sderaadt      we should tweak this function to handle that.  */
14*1e72d8d2Sderaadt   assert (mode == 0777);
15*1e72d8d2Sderaadt 
16*1e72d8d2Sderaadt   return mkdir (path);
17*1e72d8d2Sderaadt }
18