Classes | Macros | Functions
os390-syscalls.h File Reference
#include "uv.h"
#include "internal.h"
#include <dirent.h>
#include <poll.h>
#include <pthread.h>
Include dependency graph for os390-syscalls.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  epoll_event
 
struct  uv__os390_epoll
 

Macros

#define EPOLL_CTL_ADD   1
 
#define EPOLL_CTL_DEL   2
 
#define EPOLL_CTL_MOD   3
 
#define MAX_EPOLL_INSTANCES   256
 
#define MAX_ITEMS_PER_EPOLL   1024
 
#define UV__O_CLOEXEC   0x80000
 

Functions

uv__os390_epollepoll_create1 (int flags)
 
int epoll_ctl (uv__os390_epoll *ep, int op, int fd, struct epoll_event *event)
 
int epoll_file_close (int fd)
 
int epoll_wait (uv__os390_epoll *ep, struct epoll_event *events, int maxevents, int timeout)
 
char * mkdtemp (char *path)
 
int nanosleep (const struct timespec *req, struct timespec *rem)
 
ssize_t os390_readlink (const char *path, char *buf, size_t len)
 
int scandir (const char *maindir, struct dirent ***namelist, int(*filter)(const struct dirent *), int(*compar)(const struct dirent **, const struct dirent **))
 
int sem_destroy (UV_PLATFORM_SEM_T *semid)
 
int sem_init (UV_PLATFORM_SEM_T *semid, int pshared, unsigned int value)
 
int sem_post (UV_PLATFORM_SEM_T *semid)
 
int sem_trywait (UV_PLATFORM_SEM_T *semid)
 
int sem_wait (UV_PLATFORM_SEM_T *semid)
 
size_t strnlen (const char *str, size_t maxlen)
 

Macro Definition Documentation

◆ EPOLL_CTL_ADD

#define EPOLL_CTL_ADD   1

Definition at line 32 of file os390-syscalls.h.

◆ EPOLL_CTL_DEL

#define EPOLL_CTL_DEL   2

Definition at line 33 of file os390-syscalls.h.

◆ EPOLL_CTL_MOD

#define EPOLL_CTL_MOD   3

Definition at line 34 of file os390-syscalls.h.

◆ MAX_EPOLL_INSTANCES

#define MAX_EPOLL_INSTANCES   256

Definition at line 35 of file os390-syscalls.h.

◆ MAX_ITEMS_PER_EPOLL

#define MAX_ITEMS_PER_EPOLL   1024

Definition at line 36 of file os390-syscalls.h.

◆ UV__O_CLOEXEC

#define UV__O_CLOEXEC   0x80000

Definition at line 38 of file os390-syscalls.h.

Function Documentation

◆ epoll_create1()

uv__os390_epoll* epoll_create1 ( int  flags)

Definition at line 215 of file os390-syscalls.c.

◆ epoll_ctl()

int epoll_ctl ( uv__os390_epoll ep,
int  op,
int  fd,
struct epoll_event event 
)

Definition at line 238 of file os390-syscalls.c.

◆ epoll_file_close()

int epoll_file_close ( int  fd)

Definition at line 354 of file os390-syscalls.c.

◆ epoll_wait()

int epoll_wait ( uv__os390_epoll ep,
struct epoll_event events,
int  maxevents,
int  timeout 
)

Definition at line 284 of file os390-syscalls.c.

◆ mkdtemp()

char* mkdtemp ( char *  path)

Definition at line 425 of file os390-syscalls.c.

◆ nanosleep()

int nanosleep ( const struct timespec *  req,
struct timespec *  rem 
)

Definition at line 385 of file os390-syscalls.c.

◆ os390_readlink()

ssize_t os390_readlink ( const char *  path,
char *  buf,
size_t  len 
)

Definition at line 485 of file os390-syscalls.c.

◆ scandir()

int scandir ( const char *  maindir,
struct dirent ***  namelist,
int(*)(const struct dirent *)  filter,
int(*)(const struct dirent **, const struct dirent **)  compar 
)

Definition at line 41 of file os390-syscalls.c.

◆ sem_destroy()

int sem_destroy ( UV_PLATFORM_SEM_T semid)

Definition at line 568 of file os390-syscalls.c.

◆ sem_init()

int sem_init ( UV_PLATFORM_SEM_T semid,
int  pshared,
unsigned int  value 
)

Definition at line 563 of file os390-syscalls.c.

◆ sem_post()

int sem_post ( UV_PLATFORM_SEM_T semid)

Definition at line 573 of file os390-syscalls.c.

◆ sem_trywait()

int sem_trywait ( UV_PLATFORM_SEM_T semid)

Definition at line 578 of file os390-syscalls.c.

◆ sem_wait()

int sem_wait ( UV_PLATFORM_SEM_T semid)

Definition at line 583 of file os390-syscalls.c.

◆ strnlen()

size_t strnlen ( const char *  str,
size_t  maxlen 
)

Definition at line 554 of file os390-syscalls.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:25