xref: /netbsd-src/bin/sh/cd.h (revision 4fc4fe2edf6e10097b22d38d8253d8c1c58ba21a)
1*4fc4fe2eSchristos /*	$NetBSD: cd.h,v 1.6 2011/06/18 21:18:46 christos Exp $	*/
2ff008dabSchristos 
3ff008dabSchristos /*-
4ff008dabSchristos  * Copyright (c) 1995
5ff008dabSchristos  *	The Regents of the University of California.  All rights reserved.
6ff008dabSchristos  *
7ff008dabSchristos  * Redistribution and use in source and binary forms, with or without
8ff008dabSchristos  * modification, are permitted provided that the following conditions
9ff008dabSchristos  * are met:
10ff008dabSchristos  * 1. Redistributions of source code must retain the above copyright
11ff008dabSchristos  *    notice, this list of conditions and the following disclaimer.
12ff008dabSchristos  * 2. Redistributions in binary form must reproduce the above copyright
13ff008dabSchristos  *    notice, this list of conditions and the following disclaimer in the
14ff008dabSchristos  *    documentation and/or other materials provided with the distribution.
15b5b29542Sagc  * 3. Neither the name of the University nor the names of its contributors
16ff008dabSchristos  *    may be used to endorse or promote products derived from this software
17ff008dabSchristos  *    without specific prior written permission.
18ff008dabSchristos  *
19ff008dabSchristos  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20ff008dabSchristos  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21ff008dabSchristos  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22ff008dabSchristos  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23ff008dabSchristos  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24ff008dabSchristos  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25ff008dabSchristos  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26ff008dabSchristos  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27ff008dabSchristos  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28ff008dabSchristos  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29ff008dabSchristos  * SUCH DAMAGE.
30ff008dabSchristos  *
31ff008dabSchristos  */
32ff008dabSchristos 
338d6ffce2Schristos void	initpwd(void);
34c02b3bbdSchristos void	getpwd(int);
35