(root)/
Python-3.12.0/
Include/
cpython/
sysmodule.h
       1  #ifndef Py_CPYTHON_SYSMODULE_H
       2  #  error "this header file must not be included directly"
       3  #endif
       4  
       5  PyAPI_FUNC(PyObject *) _PySys_GetAttr(PyThreadState *tstate,
       6                                        PyObject *name);
       7  
       8  PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *);
       9  
      10  typedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *);
      11  
      12  PyAPI_FUNC(int) PySys_Audit(
      13      const char *event,
      14      const char *argFormat,
      15      ...);
      16  PyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*);