banan-os/libc/include/errno.h

28 lines
394 B
C
Raw Normal View History

#pragma once
#include <sys/cdefs.h>
#define ENOMEM 1
#define EINVAL 2
#define ENOTDIR 3
#define EISDIR 4
#define ENOENT 5
#define EIO 6
2023-03-16 16:03:51 +02:00
#define ENOTSUP 7
2023-03-16 16:22:11 +02:00
#define EBADF 8
2023-03-19 04:17:39 +02:00
#define EEXISTS 9
2023-03-19 05:43:40 +02:00
#define ENOTEMPTY 10
2023-03-23 14:48:42 +02:00
#define ENAMETOOLONG 11
2023-03-29 10:58:25 +03:00
#define ENOBUFS 12
2023-04-05 02:47:37 +03:00
#define ENOTTY 13
#define ENOTBLK 14
2023-04-23 14:32:37 +03:00
#define EMFILE 15
#define ENOSYS 16
2023-04-23 14:32:37 +03:00
#define errno errno
__BEGIN_DECLS
extern int errno;
__END_DECLS