Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ ngx_calloc
Function
ngx_calloc
app/nginx-1.28.0/src/os/unix/ngx_alloc.c:34–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
33
34
void *
35
ngx_calloc(size_t size, ngx_log_t *log)
36
{
37
void *p;
38
39
p = ngx_alloc(size, log);
40
41
if (p) {
42
ngx_memzero(p, size);
43
}
44
45
return p;
46
}
47
48
49
#if (NGX_HAVE_POSIX_MEMALIGN)
Callers
2
ngx_open_file_add_event
Function · 0.50
ngx_event_process_init
Function · 0.50
Calls
1
ngx_alloc
Function · 0.70
Tested by
no test coverage detected