php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
fpm_cleanup.h File Reference

Go to the source code of this file.

Enumerations

enum  {
  FPM_CLEANUP_CHILD = (1 << 0) , FPM_CLEANUP_PARENT_EXIT = (1 << 1) , FPM_CLEANUP_PARENT_EXIT_MAIN = (1 << 2) , FPM_CLEANUP_PARENT_EXEC = (1 << 3) ,
  FPM_CLEANUP_PARENT = (1 << 1) | (1 << 2) | (1 << 3) , FPM_CLEANUP_ALL = ~0
}
 

Functions

int fpm_cleanup_add (int type, void(*cleanup)(int, void *), void *)
 
void fpm_cleanups_run (int type)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
FPM_CLEANUP_CHILD 
FPM_CLEANUP_PARENT_EXIT 
FPM_CLEANUP_PARENT_EXIT_MAIN 
FPM_CLEANUP_PARENT_EXEC 
FPM_CLEANUP_PARENT 
FPM_CLEANUP_ALL 

Definition at line 9 of file fpm_cleanup.h.

Function Documentation

◆ fpm_cleanup_add()

int fpm_cleanup_add ( int type,
void(* cleanup )(int, void *),
void * arg )

Definition at line 18 of file fpm_cleanup.c.

◆ fpm_cleanups_run()

void fpm_cleanups_run ( int type)

Definition at line 36 of file fpm_cleanup.c.