CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
Loading...
Searching...
No Matches
FreeRTOS_errno.h File Reference

FreeRTOS-compatible errno values. More...

#include <errno.h>

Go to the source code of this file.

Macros

#define pdFREERTOS_ERRNO_NONE   0
 This header defines errno values used by FreeRTOS+TCP.
#define pdFREERTOS_ERRNO_ENOENT   ENOENT
#define pdFREERTOS_ERRNO_EINTR   EINTR
#define pdFREERTOS_ERRNO_EIO   EIO
#define pdFREERTOS_ERRNO_ENXIO   ENXIO
#define pdFREERTOS_ERRNO_EBADF   EBADF
#define pdFREERTOS_ERRNO_EAGAIN   EAGAIN
#define pdFREERTOS_ERRNO_EWOULDBLOCK   EWOULDBLOCK
#define pdFREERTOS_ERRNO_ENOMEM   ENOMEM
#define pdFREERTOS_ERRNO_EACCES   EACCES
#define pdFREERTOS_ERRNO_EFAULT   EFAULT
#define pdFREERTOS_ERRNO_EBUSY   EBUSY
#define pdFREERTOS_ERRNO_EEXIST   EEXIST
#define pdFREERTOS_ERRNO_EXDEV   EXDEV
#define pdFREERTOS_ERRNO_ENODEV   ENODEV
#define pdFREERTOS_ERRNO_ENOTDIR   ENOTDIR
#define pdFREERTOS_ERRNO_EISDIR   EISDIR
#define pdFREERTOS_ERRNO_EINVAL   EINVAL
#define pdFREERTOS_ERRNO_ENOSPC   ENOSPC
#define pdFREERTOS_ERRNO_ESPIPE   ESPIPE
#define pdFREERTOS_ERRNO_EROFS   EROFS
#define pdFREERTOS_ERRNO_EUNATCH   EUNATCH
#define pdFREERTOS_ERRNO_EBADE   EBADE
#define pdFREERTOS_ERRNO_EFTYPE   EFTYPE
#define pdFREERTOS_ERRNO_ENOTEMPTY   ENOTEMPTY
#define pdFREERTOS_ERRNO_ENAMETOOLONG   ENAMETOOLONG
#define pdFREERTOS_ERRNO_EOPNOTSUPP   EOPNOTSUPP
#define pdFREERTOS_ERRNO_EAFNOSUPPORT   EAFNOSUPPORT
#define pdFREERTOS_ERRNO_ENOBUFS   ENOBUFS
#define pdFREERTOS_ERRNO_ENOPROTOOPT   ENOPROTOOPT
#define pdFREERTOS_ERRNO_EADDRINUSE   EADDRINUSE
#define pdFREERTOS_ERRNO_ETIMEDOUT   ETIMEDOUT
#define pdFREERTOS_ERRNO_EINPROGRESS   EINPROGRESS
#define pdFREERTOS_ERRNO_EALREADY   EALREADY
#define pdFREERTOS_ERRNO_EADDRNOTAVAIL   EADDRNOTAVAIL
#define pdFREERTOS_ERRNO_EISCONN   EISCONN
#define pdFREERTOS_ERRNO_ENOTCONN   ENOTCONN
#define pdFREERTOS_ERRNO_ENOMEDIUM   ENOMEDIUM
#define pdFREERTOS_ERRNO_EILSEQ   EILSEQ
#define pdFREERTOS_ERRNO_ECANCELED   ECANCELED
#define pdFREERTOS_ERRNO_ENMFILE   (__ELASTERROR + 1)
 These errno codes are non-standard, assign them a code outside our errno range.

Detailed Description

FreeRTOS-compatible errno values.

These are mapped to the CHERIoT RTOS values. Note that this also means that the values without the pdFREERTOS_ERRNO_ prefix are exposed in the global namespace.

Definition in file FreeRTOS_errno.h.

Macro Definition Documentation

◆ pdFREERTOS_ERRNO_EACCES

#define pdFREERTOS_ERRNO_EACCES   EACCES

Definition at line 35 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EADDRINUSE

#define pdFREERTOS_ERRNO_EADDRINUSE   EADDRINUSE

Definition at line 58 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EADDRNOTAVAIL

#define pdFREERTOS_ERRNO_EADDRNOTAVAIL   EADDRNOTAVAIL

Definition at line 63 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EAFNOSUPPORT

#define pdFREERTOS_ERRNO_EAFNOSUPPORT   EAFNOSUPPORT

Definition at line 54 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EAGAIN

#define pdFREERTOS_ERRNO_EAGAIN   EAGAIN

Definition at line 32 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EALREADY

#define pdFREERTOS_ERRNO_EALREADY   EALREADY

Definition at line 62 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EBADE

#define pdFREERTOS_ERRNO_EBADE   EBADE

Definition at line 48 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EBADF

#define pdFREERTOS_ERRNO_EBADF   EBADF

Definition at line 31 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EBUSY

#define pdFREERTOS_ERRNO_EBUSY   EBUSY

Definition at line 37 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ECANCELED

#define pdFREERTOS_ERRNO_ECANCELED   ECANCELED

Definition at line 69 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EEXIST

#define pdFREERTOS_ERRNO_EEXIST   EEXIST

Definition at line 38 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EFAULT

#define pdFREERTOS_ERRNO_EFAULT   EFAULT

Definition at line 36 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EFTYPE

#define pdFREERTOS_ERRNO_EFTYPE   EFTYPE

Definition at line 49 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EILSEQ

#define pdFREERTOS_ERRNO_EILSEQ   EILSEQ

Definition at line 67 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EINPROGRESS

#define pdFREERTOS_ERRNO_EINPROGRESS   EINPROGRESS

Definition at line 60 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EINTR

#define pdFREERTOS_ERRNO_EINTR   EINTR

Definition at line 28 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EINVAL

#define pdFREERTOS_ERRNO_EINVAL   EINVAL

Definition at line 43 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EIO

#define pdFREERTOS_ERRNO_EIO   EIO

Definition at line 29 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EISCONN

#define pdFREERTOS_ERRNO_EISCONN   EISCONN

Definition at line 64 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EISDIR

#define pdFREERTOS_ERRNO_EISDIR   EISDIR

Definition at line 42 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ENAMETOOLONG

#define pdFREERTOS_ERRNO_ENAMETOOLONG   ENAMETOOLONG

Definition at line 51 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ENMFILE

#define pdFREERTOS_ERRNO_ENMFILE   (__ELASTERROR + 1)

These errno codes are non-standard, assign them a code outside our errno range.

Definition at line 76 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ENOBUFS

#define pdFREERTOS_ERRNO_ENOBUFS   ENOBUFS

Definition at line 56 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ENODEV

#define pdFREERTOS_ERRNO_ENODEV   ENODEV

Definition at line 40 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ENOENT

#define pdFREERTOS_ERRNO_ENOENT   ENOENT

Definition at line 27 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ENOMEDIUM

#define pdFREERTOS_ERRNO_ENOMEDIUM   ENOMEDIUM

Definition at line 66 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ENOMEM

#define pdFREERTOS_ERRNO_ENOMEM   ENOMEM

Definition at line 34 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ENOPROTOOPT

#define pdFREERTOS_ERRNO_ENOPROTOOPT   ENOPROTOOPT

Definition at line 57 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ENOSPC

#define pdFREERTOS_ERRNO_ENOSPC   ENOSPC

Definition at line 44 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ENOTCONN

#define pdFREERTOS_ERRNO_ENOTCONN   ENOTCONN

Definition at line 65 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ENOTDIR

#define pdFREERTOS_ERRNO_ENOTDIR   ENOTDIR

Definition at line 41 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ENOTEMPTY

#define pdFREERTOS_ERRNO_ENOTEMPTY   ENOTEMPTY

Definition at line 50 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ENXIO

#define pdFREERTOS_ERRNO_ENXIO   ENXIO

Definition at line 30 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EOPNOTSUPP

#define pdFREERTOS_ERRNO_EOPNOTSUPP   EOPNOTSUPP

Definition at line 52 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EROFS

#define pdFREERTOS_ERRNO_EROFS   EROFS

Definition at line 46 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ESPIPE

#define pdFREERTOS_ERRNO_ESPIPE   ESPIPE

Definition at line 45 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_ETIMEDOUT

#define pdFREERTOS_ERRNO_ETIMEDOUT   ETIMEDOUT

Definition at line 59 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EUNATCH

#define pdFREERTOS_ERRNO_EUNATCH   EUNATCH

Definition at line 47 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EWOULDBLOCK

#define pdFREERTOS_ERRNO_EWOULDBLOCK   EWOULDBLOCK

Definition at line 33 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_EXDEV

#define pdFREERTOS_ERRNO_EXDEV   EXDEV

Definition at line 39 of file FreeRTOS_errno.h.

◆ pdFREERTOS_ERRNO_NONE

#define pdFREERTOS_ERRNO_NONE   0

This header defines errno values used by FreeRTOS+TCP.

In the FreeRTOS core tree, this is included in projdefs.h.

We modified it here to use the same errno codes are the CHERIoT core when possible.

Definition at line 26 of file FreeRTOS_errno.h.