QP/C
errno.h
00001 /*****************************************************************************
00002 * Product: ANSI C library facilities for PC-Lint
00003 * Last Updated for Version: 4.4.00
00004 * Date of the Last Update:  Jan 13, 2012
00005 *
00006 *                    Q u a n t u m     L e a P s
00007 *                    ---------------------------
00008 *                    innovating embedded systems
00009 *
00010 * Copyright (C) 2002-2012 Quantum Leaps, LLC. All rights reserved.
00011 *
00012 * This software is be distributed and modified under the terms of the GNU
00013 * General Public License (GPL) as published by the Free Software Foundation
00014 * and appearing in the file GPL.TXT included in the packaging of this file.
00015 * Please note that GPL requires that all works based on this software must
00016 * also be made publicly available under the terms of the GPL ("Copyleft").
00017 *
00018 * Alternatively, this software may be distributed and modified under the
00019 * terms of Quantum Leaps commercial licenses, which expressly supersede
00020 * the GPL and are specifically designed for licensees interested in
00021 * retaining the proprietary status of their code.
00022 *
00023 * Contact information:
00024 * Quantum Leaps Web site:  http://www.quantum-leaps.com
00025 * e-mail:                  info@quantum-leaps.com
00026 *****************************************************************************/
00027 #ifndef errno_h
00028 #define errno_h
00029 
00030 extern int errno;
00031 
00032 #define EDOM    33
00033 #define ERANGE  34
00034 #define EFPOS   35
00035 #define EILSEQ  36
00036 
00037 void perror(char const *s);
00038 char *strerror(int errnum);
00039 
00040 #endif                                                           /* errno_h */
00041