doubango/tinySAK/src/tsk_errno.h
c732d49e
 /*
74ca6d11
 * Copyright (C) 2020, University of the Basque Country (UPV/EHU)
c732d49e
 * Contact for licensing options: <licensing-mcpttclient(at)mcopenplatform(dot)com>
 *
 * The original file was part of Open Source Doubango Framework
 * Copyright (C) 2010-2011 Mamadou Diop.
 * Copyright (C) 2012 Doubango Telecom <http://doubango.org>
 *
 * This file is part of Open Source Doubango Framework.
 *
 * DOUBANGO is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * DOUBANGO is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with DOUBANGO.
 *
 */
 
 /**@file tsk_mutex.h
  * @brief ERRNO.
  *
  * @author Mamadou Diop <diopmamadou(at)doubango[dot]org>
  *
 
  */
 #ifndef _TINYSAK_ERRNO_H_
 #define _TINYSAK_ERRNO_H_
 
 #include "tinysak_config.h"
 
 TSK_BEGIN_DECLS
 
 #ifndef _WIN32_WCE
 #	include <errno.h>
 #else
 #define EPERM           1
 #define ENOENT          2
 #define ESRCH           3
 #define EINTR           4
 #define EIO             5
 #define ENXIO           6
 #define E2BIG           7
 #define ENOEXEC         8
 #define EBADF           9
 #define ECHILD          10
 #define EAGAIN          11
 #define ENOMEM          12
 #define EACCES          13
 #define EFAULT          14
 #define EBUSY           16
 #define EEXIST          17
 #define EXDEV           18
 #define ENODEV          19
 #define ENOTDIR         20
 #define EISDIR          21
 #define ENFILE          23
 #define EMFILE          24
 #define ENOTTY          25
 #define EFBIG           27
 #define ENOSPC          28
 #define ESPIPE          29
 #define EROFS           30
 #define EMLINK          31
 #define EPIPE           32
 #define EDOM            33
 #define EDEADLK         36
 #define ENAMETOOLONG    38
 #define ENOLCK          39
 #define ENOSYS          40
 #define ENOTEMPTY       41
 
 /* Error codes used in the Secure CRT functions */
 
 #ifndef RC_INVOKED
 #if !defined(_SECURECRT_ERRCODE_VALUES_DEFINED)
 #define _SECURECRT_ERRCODE_VALUES_DEFINED
 #define EINVAL          22
 #define ERANGE          34
 #define EILSEQ          42
 #define STRUNCATE       80
 #endif
 #endif
 
 #endif
 
 TSK_END_DECLS
 
 #endif