banan-os/libc/include/errno.h

18 lines
218 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
__BEGIN_DECLS
extern int errno;
__END_DECLS