MCPcopy Create free account
hub / github.com/F-Stack/f-stack / write

Function write

app/nginx-1.28.0/src/event/modules/ngx_ff_module.c:493–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491 }
492
493 ssize_t
494 write(int sockfd, const void *buf, size_t count)
495 {
496 if(is_fstack_fd(sockfd)){
497 sockfd = restore_fstack_fd(sockfd);
498 return ff_write(sockfd, buf, count);
499 }
500
501 return SYSCALL(write)(sockfd, buf, count);
502 }
503
504 int
505 ioctl(int sockfd, int request, void *p)

Callers 6

ngx_epoll_notifyFunction · 0.70
ngx_devpoll_initFunction · 0.70
ngx_devpoll_set_eventFunction · 0.70
ngx_write_fdFunction · 0.50
ngx_write_fileFunction · 0.50

Calls 3

ff_writeFunction · 0.85
is_fstack_fdFunction · 0.70
restore_fstack_fdFunction · 0.70

Tested by

no test coverage detected