1 2 /* 3 * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 #ifndef _ESP_PLATFORM_ERRNO_H_ 8 #define _ESP_PLATFORM_ERRNO_H_ 9 10 #include_next "errno.h" 11 12 // 13 // Possibly define some missing errors 14 // 15 #ifndef ESHUTDOWN 16 #define ESHUTDOWN 110 /* Cannot send after transport endpoint shutdown */ 17 #endif 18 19 #ifndef EAI_SOCKTYPE 20 #define EAI_SOCKTYPE 10 /* ai_socktype not supported */ 21 #endif 22 23 #ifndef EAI_AGAIN 24 #define EAI_AGAIN 2 /* temporary failure in name resolution */ 25 #endif 26 27 #ifndef EAI_BADFLAGS 28 #define EAI_BADFLAGS 3 /* invalid value for ai_flags */ 29 #endif 30 31 #endif // _ESP_PLATFORM_ERRNO_H_ 32