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