forked from Bananymous/banan-os
LibC: Add definitions to LibC that are used by some ports
This commit is contained in:
@@ -42,6 +42,11 @@ __BEGIN_DECLS
|
|||||||
#define EAI_SYSTEM 9
|
#define EAI_SYSTEM 9
|
||||||
#define EAI_OVERFLOW 10
|
#define EAI_OVERFLOW 10
|
||||||
|
|
||||||
|
#define HOST_NOT_FOUND 1
|
||||||
|
#define NO_DATA 2
|
||||||
|
#define NO_RECOVERY 3
|
||||||
|
#define TRY_AGAIN 4
|
||||||
|
|
||||||
struct hostent
|
struct hostent
|
||||||
{
|
{
|
||||||
char* h_name; /* Official name of the host. */
|
char* h_name; /* Official name of the host. */
|
||||||
|
|||||||
@@ -108,6 +108,8 @@ struct sigevent
|
|||||||
#define SIGRTMIN 30
|
#define SIGRTMIN 30
|
||||||
#define SIGRTMAX (SIGRTMIN+32)
|
#define SIGRTMAX (SIGRTMIN+32)
|
||||||
|
|
||||||
|
#define NSIG SIGRTMAX
|
||||||
|
|
||||||
#define SI_USER 10
|
#define SI_USER 10
|
||||||
#define SI_QUEUE 11
|
#define SI_QUEUE 11
|
||||||
#define SI_TIMER 12
|
#define SI_TIMER 12
|
||||||
|
|||||||
Reference in New Issue
Block a user