Deleted Added
full compact
errno.h (13545) errno.h (17649)
1/*
2 * Copyright (c) 1982, 1986, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)errno.h 8.5 (Berkeley) 1/21/94
1/*
2 * Copyright (c) 1982, 1986, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)errno.h 8.5 (Berkeley) 1/21/94
39 * $Id: errno.h,v 1.3 1994/08/21 04:41:42 paul Exp $
39 * $Id: errno.h,v 1.4 1996/01/22 00:02:33 julian Exp $
40 */
41
42#ifndef _SYS_ERRNO_H_
43#define _SYS_ERRNO_H_
44
45#ifndef KERNEL
46#ifdef _THREAD_SAFE
40 */
41
42#ifndef _SYS_ERRNO_H_
43#define _SYS_ERRNO_H_
44
45#ifndef KERNEL
46#ifdef _THREAD_SAFE
47extern int * __error();
47#include <sys/cdefs.h>
48__BEGIN_DECLS
49int * __error __P((void));
50__END_DECLS
48#define errno (* __error())
49#else
50extern int errno; /* global error number */
51#endif
52#endif
53
54#define EPERM 1 /* Operation not permitted */
55#define ENOENT 2 /* No such file or directory */

--- 119 unchanged lines hidden ---
51#define errno (* __error())
52#else
53extern int errno; /* global error number */
54#endif
55#endif
56
57#define EPERM 1 /* Operation not permitted */
58#define ENOENT 2 /* No such file or directory */

--- 119 unchanged lines hidden ---