banan-os/libc/include/errno.h

23 lines
318 B
C

#pragma once
#include <sys/cdefs.h>
#define ENOMEM 1
#define EINVAL 2
#define ENOTDIR 3
#define EISDIR 4
#define ENOENT 5
#define EIO 6
#define ENOTSUP 7
#define EBADF 8
#define EEXISTS 9
#define ENOTEMPTY 10
#define ENAMETOOLONG 11
#define ENOBUFS 12
#define ENOTTY 13
__BEGIN_DECLS
extern int errno;
__END_DECLS