7 #define PIPENAME "\\\\?\\pipe\\echo.sock"
9 #define PIPENAME "/tmp/echo.sock"
27 buf->len = suggested_size;
47 fprintf(stderr,
"Read error %s\n",
uv_err_name(nread));
static mcore_handle handle
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec req
RZ_API void Ht_() free(HtName_(Ht) *ht)
int main(int argc, const char **argv)
void * malloc(size_t size)
static static fork const void static count static fd const char static mode const char static pathname const char static path const char static dev const char static group static getpid static getuid void void static data static pause const char static mode static sync const char const char static newpath const char static pathname unsigned long static filedes void static end_data_segment signal
static const char struct stat static buf struct stat static buf static vhangup int status
void on_new_connection(uv_stream_t *server, int status)
void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf)
void echo_write(uv_write_t *req, int status)
void remove_sock(int sig)
void echo_read(uv_stream_t *client, ssize_t nread, const uv_buf_t *buf)
void free_write_req(uv_write_t *req)
UV_EXTERN int uv_write(uv_write_t *req, uv_stream_t *handle, const uv_buf_t bufs[], unsigned int nbufs, uv_write_cb cb)
UV_EXTERN uv_buf_t uv_buf_init(char *base, unsigned int len)
UV_EXTERN int uv_read_start(uv_stream_t *, uv_alloc_cb alloc_cb, uv_read_cb read_cb)
UV_EXTERN int uv_listen(uv_stream_t *stream, int backlog, uv_connection_cb cb)
UV_EXTERN int uv_pipe_init(uv_loop_t *, uv_pipe_t *handle, int ipc)
UV_EXTERN int uv_run(uv_loop_t *, uv_run_mode mode)
UV_EXTERN const char * uv_err_name(int err)
UV_EXTERN int uv_pipe_bind(uv_pipe_t *handle, const char *name)
UV_EXTERN void uv_close(uv_handle_t *handle, uv_close_cb close_cb)
UV_EXTERN int uv_accept(uv_stream_t *server, uv_stream_t *client)
UV_EXTERN int uv_fs_unlink(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
UV_EXTERN uv_loop_t * uv_default_loop(void)