Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs | Functions | Variables
ngx_os.h File Reference
#include <ngx_config.h>
#include <ngx_core.h>
Include dependency graph for ngx_os.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ngx_os_io_t

Macros

#define NGX_IO_SENDFILE   1

Typedefs

typedef ssize_t(* ngx_recv_pt )(ngx_connection_t *c, u_char *buf, size_t size)
typedef ssize_t(* ngx_recv_chain_pt )(ngx_connection_t *c, ngx_chain_t *in)
typedef ssize_t(* ngx_send_pt )(ngx_connection_t *c, u_char *buf, size_t size)
typedef ngx_chain_t *(* ngx_send_chain_pt )(ngx_connection_t *c, ngx_chain_t *in, off_t limit)

Functions

ngx_int_t ngx_os_init (ngx_log_t *log)
void ngx_os_status (ngx_log_t *log)
ngx_int_t ngx_os_specific_init (ngx_log_t *log)
void ngx_os_specific_status (ngx_log_t *log)
ngx_int_t ngx_daemon (ngx_log_t *log)
ngx_int_t ngx_os_signal_process (ngx_cycle_t *cycle, char *sig, ngx_int_t pid)
ssize_t ngx_unix_recv (ngx_connection_t *c, u_char *buf, size_t size)
ssize_t ngx_readv_chain (ngx_connection_t *c, ngx_chain_t *entry)
ssize_t ngx_udp_unix_recv (ngx_connection_t *c, u_char *buf, size_t size)
ssize_t ngx_unix_send (ngx_connection_t *c, u_char *buf, size_t size)
ngx_chain_tngx_writev_chain (ngx_connection_t *c, ngx_chain_t *in, off_t limit)

Variables

ngx_os_io_t ngx_os_io
ngx_int_t ngx_ncpu
ngx_int_t ngx_max_sockets
ngx_uint_t ngx_inherited_nonblocking
ngx_uint_t ngx_tcp_nodelay_and_tcp_nopush

Macro Definition Documentation

#define NGX_IO_SENDFILE   1

Definition at line 16 of file ngx_os.h.

Typedef Documentation

typedef ssize_t(* ngx_recv_chain_pt)(ngx_connection_t *c, ngx_chain_t *in)

Definition at line 20 of file ngx_os.h.

typedef ssize_t(* ngx_recv_pt)(ngx_connection_t *c, u_char *buf, size_t size)

Definition at line 19 of file ngx_os.h.

typedef ngx_chain_t*(* ngx_send_chain_pt)(ngx_connection_t *c, ngx_chain_t *in, off_t limit)

Definition at line 22 of file ngx_os.h.

typedef ssize_t(* ngx_send_pt)(ngx_connection_t *c, u_char *buf, size_t size)

Definition at line 21 of file ngx_os.h.

Function Documentation

ngx_int_t ngx_daemon ( ngx_log_t log)

Definition at line 13 of file ngx_daemon.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_int_t ngx_os_init ( ngx_log_t log)

Definition at line 33 of file ngx_posix_init.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_int_t ngx_os_signal_process ( ngx_cycle_t cycle,
char *  sig,
ngx_int_t  pid 
)

Definition at line 609 of file ngx_process.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_int_t ngx_os_specific_init ( ngx_log_t log)

Definition at line 90 of file ngx_darwin_init.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void ngx_os_specific_status ( ngx_log_t log)

Definition at line 173 of file ngx_darwin_init.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void ngx_os_status ( ngx_log_t log)

Definition at line 83 of file ngx_posix_init.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ssize_t ngx_readv_chain ( ngx_connection_t c,
ngx_chain_t entry 
)

Definition at line 176 of file ngx_readv_chain.c.

Here is the call graph for this function:

ssize_t ngx_udp_unix_recv ( ngx_connection_t c,
u_char *  buf,
size_t  size 
)

Definition at line 74 of file ngx_udp_recv.c.

Here is the call graph for this function:

ssize_t ngx_unix_recv ( ngx_connection_t c,
u_char *  buf,
size_t  size 
)

Definition at line 127 of file ngx_recv.c.

Here is the call graph for this function:

ssize_t ngx_unix_send ( ngx_connection_t c,
u_char *  buf,
size_t  size 
)

Definition at line 14 of file ngx_send.c.

Here is the call graph for this function:

ngx_chain_t* ngx_writev_chain ( ngx_connection_t c,
ngx_chain_t in,
off_t  limit 
)

Definition at line 21 of file ngx_writev_chain.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

ngx_uint_t ngx_inherited_nonblocking

Definition at line 15 of file ngx_posix_init.c.

ngx_int_t ngx_max_sockets

Definition at line 14 of file ngx_posix_init.c.

ngx_int_t ngx_ncpu

Definition at line 13 of file ngx_posix_init.c.

ngx_os_io_t ngx_os_io

Definition at line 22 of file ngx_posix_init.c.

ngx_uint_t ngx_tcp_nodelay_and_tcp_nopush

Definition at line 16 of file ngx_posix_init.c.