banan-os/libc/include/errno.h

19 lines
236 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
__BEGIN_DECLS
extern int errno;
__END_DECLS