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