Deleted Added
full compact
errlst.c (104704) errlst.c (144530)
1/*
2 * Copyright (c) 1982, 1985, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34#if defined(LIBC_SCCS) && !defined(lint)
35static char sccsid[] = "@(#)errlst.c 8.2 (Berkeley) 11/16/93";
36#endif /* LIBC_SCCS and not lint */
37#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1982, 1985, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34#if defined(LIBC_SCCS) && !defined(lint)
35static char sccsid[] = "@(#)errlst.c 8.2 (Berkeley) 11/16/93";
36#endif /* LIBC_SCCS and not lint */
37#include <sys/cdefs.h>
38__FBSDID("$FreeBSD: head/lib/libc/gen/errlst.c 104704 2002-10-09 08:04:24Z peter $");
38__FBSDID("$FreeBSD: head/lib/libc/gen/errlst.c 144530 2005-04-02 12:33:28Z das $");
39
40#include <stdio.h>
41
42const char *const sys_errlist[] = {
43 "Undefined error: 0", /* 0 - ENOERROR */
44 "Operation not permitted", /* 1 - EPERM */
45 "No such file or directory", /* 2 - ENOENT */
46 "No such process", /* 3 - ESRCH */

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

144 "No message of desired type", /* 83 - ENOMSG */
145 "Value too large to be stored in data type", /* 84 - EOVERFLOW */
146 "Operation canceled", /* 85 - ECANCELED */
147 "Illegal byte sequence", /* 86 - EILSEQ */
148 "Attribute not found", /* 87 - ENOATTR */
149
150/* General */
151 "Programming error", /* 88 - EDOOFUS */
39
40#include <stdio.h>
41
42const char *const sys_errlist[] = {
43 "Undefined error: 0", /* 0 - ENOERROR */
44 "Operation not permitted", /* 1 - EPERM */
45 "No such file or directory", /* 2 - ENOENT */
46 "No such process", /* 3 - ESRCH */

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

144 "No message of desired type", /* 83 - ENOMSG */
145 "Value too large to be stored in data type", /* 84 - EOVERFLOW */
146 "Operation canceled", /* 85 - ECANCELED */
147 "Illegal byte sequence", /* 86 - EILSEQ */
148 "Attribute not found", /* 87 - ENOATTR */
149
150/* General */
151 "Programming error", /* 88 - EDOOFUS */
152
153 "Bad message", /* 89 - EBADMSG */
154 "Multihop attempted", /* 90 - EMULTIHOP */
155 "Link has been severed", /* 91 - ENOLINK */
156 "Protocol error", /* 92 - EPROTO */
152};
153const int sys_nerr = sizeof(sys_errlist) / sizeof(sys_errlist[0]);
157};
158const int sys_nerr = sizeof(sys_errlist) / sizeof(sys_errlist[0]);