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

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


/* C_FCHDIR -- Change directory.
*/
int
c_fchdir (char *newdir)
{
	iferr (FCHDIR (c_sppstr (newdir)))
	    return (ERR);
	else
	    return (OK);
}