1797013cfSFrançois Tigeot /* 2*1dedbd3bSFrançois Tigeot * Copyright (c) 2014-2019 François Tigeot 3797013cfSFrançois Tigeot * All rights reserved. 4797013cfSFrançois Tigeot * 5797013cfSFrançois Tigeot * Redistribution and use in source and binary forms, with or without 6797013cfSFrançois Tigeot * modification, are permitted provided that the following conditions 7797013cfSFrançois Tigeot * are met: 8797013cfSFrançois Tigeot * 1. Redistributions of source code must retain the above copyright 9797013cfSFrançois Tigeot * notice unmodified, this list of conditions, and the following 10797013cfSFrançois Tigeot * disclaimer. 11797013cfSFrançois Tigeot * 2. Redistributions in binary form must reproduce the above copyright 12797013cfSFrançois Tigeot * notice, this list of conditions and the following disclaimer in the 13797013cfSFrançois Tigeot * documentation and/or other materials provided with the distribution. 14797013cfSFrançois Tigeot * 15797013cfSFrançois Tigeot * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16797013cfSFrançois Tigeot * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17797013cfSFrançois Tigeot * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18797013cfSFrançois Tigeot * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19797013cfSFrançois Tigeot * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20797013cfSFrançois Tigeot * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21797013cfSFrançois Tigeot * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22797013cfSFrançois Tigeot * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23797013cfSFrançois Tigeot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24797013cfSFrançois Tigeot * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25797013cfSFrançois Tigeot */ 26797013cfSFrançois Tigeot 27797013cfSFrançois Tigeot #ifndef _LINUX_ERRNO_H_ 28797013cfSFrançois Tigeot #define _LINUX_ERRNO_H_ 29797013cfSFrançois Tigeot 30797013cfSFrançois Tigeot #if defined(_KERNEL) 31797013cfSFrançois Tigeot #define ERESTARTSYS 512 /* Restart syscall. MUST be positive. */ 32*1dedbd3bSFrançois Tigeot #define EPROBE_DEFER 517 33797013cfSFrançois Tigeot #endif 34797013cfSFrançois Tigeot 35e54fb5f6SFrançois Tigeot #define ECHRNG EDOM 36e54fb5f6SFrançois Tigeot #define ENOTSUPP EOPNOTSUPP 375d60385dSFrançois Tigeot #define ETIME ETIMEDOUT 3819c468b4SFrançois Tigeot #define ENODATA ECONNREFUSED 3944bb8b1cSzrj #define EREMOTEIO EIO 40e54fb5f6SFrançois Tigeot 41797013cfSFrançois Tigeot #endif /* _LINUX_ERRNO_H_ */ 42