aboutsummaryrefslogtreecommitdiff
path: root/sys/libc/cfmkdir.c
blob: 9888461d81431f099dca025a0cc6bfe4eec145d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
*/

#define import_spp
#define	import_libc
#define	import_xnames
#include <iraf.h>


/* C_FMKDIR -- FIO procedure to create a new directory.
*/
int
c_fmkdir (newdir)
char	*newdir;			/* name of the new directory	*/
{
	iferr (FMKDIR (c_sppstr(newdir)))
	    return (ERR);
	else
	    return (OK);
}