summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/os2/mkdir.c
blob: 2c9df54684732e72250fc2b4233698262ece0d21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* mkdir.c --- mkdir for OS/2
   Karl Fogel <kfogel@cyclic.com> --- October 1995  */

#include <assert.h>

#include "cvs.h"

int
os2_mkdir (const char *path, int mode)
{
  /* This is true for all extant calls to CVS_MKDIR.  If
     someone adds a call that uses something else later,
     we should tweak this function to handle that.  */
  assert (mode == 0777);

  return mkdir (path);
}