m2mb API docs  25.21.002
m2mb API sets documentation
m2mb_fs_errno.h
Go to the documentation of this file.
1 /*===============================================================================================*/
2 /* >>> Copyright (C) Telit Communications S.p.A. Italy All Rights Reserved. <<< */
23 #ifndef M2M_M2MB_FS_ERRNO_H
24 #define M2M_M2MB_FS_ERRNO_H
25 
26 
27 /* Global declarations ==========================================================================*/
28 #define M2MB_FS_ENOERR 0 /* Success */
29 #define M2MB_FS_EPERM 1 /* Operation not permitted */
30 #define M2MB_FS_ENOENT 2 /* No such file or directory */
31 #define M2MB_FS_EIO 5 /* I/O error */
32 #define M2MB_FS_EBADF 9 /* Bad file descriptor */
33 #define M2MB_FS_ENOMEM 12 /* Out of memory */
34 #define M2MB_FS_EACCES 13 /* Permission denied */
35 #define M2MB_FS_EBUSY 16 /* Device or resource busy */
36 #define M2MB_FS_EEXIST 17 /* File exists */
37 #define M2MB_FS_EXDEV 18 /* Cross-device link */
38 #define M2MB_FS_ENODEV 19 /* No such device */
39 #define M2MB_FS_ENOTDIR 20 /* Not a directory */
40 #define M2MB_FS_EISDIR 21 /* Is a directory */
41 #define M2MB_FS_EINVAL 22 /* Invalid argument */
42 #define M2MB_FS_EMFILE 24 /* Too many open files */
43 #define M2MB_FS_ETXTBSY 26 /* File or directory busy (already open) */
44 #define M2MB_FS_ENOSPC 28 /* No space left on device */
45 #define M2MB_FS_ESPIPE 29 /* Illegal seek */
46 #define M2MB_FS_ENAMETOOLONG 36 /* File name too long */
47 #define M2MB_FS_ENOTEMPTY 39 /* Directory not empty */
48 #define M2MB_FS_ELOOP 40 /* Too many symbolic links encountered */
49 #define M2MB_FS_EILSEQ 84 /* Illegal byte sequence */
50 #define M2MB_FS_ETIMEDOUT 110 /* Operation/Connection timed out. */
51 #define M2MB_FS_ESTALE 116 /* Stale remote file handle. */
52 #define M2MB_FS_EDQUOT 122 /* Quota exceeded */
53 
54 /* Global typedefs ==============================================================================*/
55 /* Global functions =============================================================================*/
56 /*-----------------------------------------------------------------------------------------------*/
81 /*-----------------------------------------------------------------------------------------------*/
82 INT32 m2mb_fs_get_errno_value( void );
83 
84 #endif /* M2M_M2MB_FS_ERRNO_H */
85 
m2mb_fs_get_errno_value
INT32 m2mb_fs_get_errno_value(void)
Get file system errno value.