L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
err.h
Go to the documentation of this file.
1
5/*
6 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
7 * Alexander Warg <warg@os.inf.tu-dresden.de>
8 * economic rights: Technische Universität Dresden (Germany)
9 *
10 * This file is part of TUD:OS and distributed under the terms of the
11 * GNU General Public License 2.
12 * Please see the COPYING-GPL-2 file for details.
13 *
14 * As a special exception, you may use this file as part of a free software
15 * library without restriction. Specifically, if other files instantiate
16 * templates or use macros or inline functions from this file, or you compile
17 * this file and link it with other files to produce an executable, this
18 * file does not by itself cause the resulting executable to be covered by
19 * the GNU General Public License. This exception does not however
20 * invalidate any other reasons why the executable file might be covered by
21 * the GNU General Public License.
22 */
23#pragma once
24
25#include <l4/sys/compiler.h>
26
74
76L4_CV char const *l4sys_errtostr(long err) L4_NOTHROW;
78
79
L4 compiler related defines.
l4_error_code_t
L4 error codes.
Definition err.h:42
@ L4_ENXIO
No such device or address.
Definition err.h:47
@ L4_EEXIST
Already exists.
Definition err.h:54
@ L4_ENOENT
No such entity.
Definition err.h:45
@ L4_E2BIG
Argument value too big.
Definition err.h:48
@ L4_ERANGE
Range error.
Definition err.h:59
@ L4_ENOSYS
No sys.
Definition err.h:61
@ L4_EACCESS
Permission denied.
Definition err.h:51
@ L4_ENOTDIR
Not a directory.
Definition err.h:56
@ L4_EIPC_HI
Communication error-range high.
Definition err.h:72
@ L4_EINVAL
Invalid argument.
Definition err.h:57
@ L4_ENOREPLY
No reply.
Definition err.h:66
@ L4_EBUSY
Object currently busy, try later.
Definition err.h:53
@ L4_EMSGMISSARG
Message has invalid capability.
Definition err.h:69
@ L4_EMSGTOOLONG
Message too long.
Definition err.h:68
@ L4_ENAMETOOLONG
Name too long.
Definition err.h:60
@ L4_ENODEV
No such thing.
Definition err.h:55
@ L4_ENOSPC
No space left on device.
Definition err.h:58
@ L4_ERRNOMAX
Maximum error value.
Definition err.h:64
@ L4_EIPC_LO
Communication error-range low.
Definition err.h:71
@ L4_EIO
I/O error.
Definition err.h:46
@ L4_EFAULT
Invalid memory address.
Definition err.h:52
@ L4_EOK
Ok.
Definition err.h:43
@ L4_EAGAIN
Try again.
Definition err.h:49
@ L4_EADDRNOTAVAIL
Address not available.
Definition err.h:63
@ L4_EPERM
No permission.
Definition err.h:44
@ L4_ENOMEM
No memory.
Definition err.h:50
@ L4_EMSGTOOSHORT
Message too short.
Definition err.h:67
@ L4_EBADPROTO
Unsupported protocol.
Definition err.h:62
#define __END_DECLS
End section with C types and functions.
Definition compiler.h:199
#define L4_CV
Define calling convention.
Definition linkage.h:44
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.
Definition compiler.h:188
#define __BEGIN_DECLS
Start section with C types and functions.
Definition compiler.h:196