errno.h (31575) | errno.h (35175) |
---|---|
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.7 1997/02/22 09:45:10 peter Exp $ | 39 * $Id: errno.h,v 1.8 1997/12/06 11:28:06 bde Exp $ |
40 */ 41 42#ifndef _SYS_ERRNO_H_ 43#define _SYS_ERRNO_H_ 44 45#ifndef KERNEL 46#ifdef _THREAD_SAFE 47#include <sys/cdefs.h> --- 112 unchanged lines hidden (view full) --- 160 161#define ENOLCK 77 /* No locks available */ 162#define ENOSYS 78 /* Function not implemented */ 163 164#ifndef _POSIX_SOURCE 165#define EFTYPE 79 /* Inappropriate file type or format */ 166#define EAUTH 80 /* Authentication error */ 167#define ENEEDAUTH 81 /* Need authenticator */ | 40 */ 41 42#ifndef _SYS_ERRNO_H_ 43#define _SYS_ERRNO_H_ 44 45#ifndef KERNEL 46#ifdef _THREAD_SAFE 47#include <sys/cdefs.h> --- 112 unchanged lines hidden (view full) --- 160 161#define ENOLCK 77 /* No locks available */ 162#define ENOSYS 78 /* Function not implemented */ 163 164#ifndef _POSIX_SOURCE 165#define EFTYPE 79 /* Inappropriate file type or format */ 166#define EAUTH 80 /* Authentication error */ 167#define ENEEDAUTH 81 /* Need authenticator */ |
168#define ELAST 81 /* Must be equal largest errno */ | 168#define EIDRM 82 /* Identifier removed */ 169#define ENOMSG 83 /* No message of desired type */ 170#define ELAST 83 /* Must be equal largest errno */ 171 |
169#endif /* _POSIX_SOURCE */ 170 171#ifdef KERNEL 172/* pseudo-errors returned inside kernel to modify return to process */ 173#define ERESTART (-1) /* restart syscall */ 174#define EJUSTRETURN (-2) /* don't modify regs, just return */ 175#define ENOIOCTL (-3) /* ioctl not handled by this layer */ 176#endif 177 178#endif | 172#endif /* _POSIX_SOURCE */ 173 174#ifdef KERNEL 175/* pseudo-errors returned inside kernel to modify return to process */ 176#define ERESTART (-1) /* restart syscall */ 177#define EJUSTRETURN (-2) /* don't modify regs, just return */ 178#define ENOIOCTL (-3) /* ioctl not handled by this layer */ 179#endif 180 181#endif |