php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
sysvsem_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 946ea9d0d2156ced1bac460d7d5fc3420e1934bb */
3
7 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, permissions, IS_LONG, 0, "0666")
8 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, auto_release, _IS_BOOL, 0, "true")
10
11ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sem_acquire, 0, 1, _IS_BOOL, 0)
12 ZEND_ARG_OBJ_INFO(0, semaphore, SysvSemaphore, 0)
13 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, non_blocking, _IS_BOOL, 0, "false")
15
16ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sem_release, 0, 1, _IS_BOOL, 0)
17 ZEND_ARG_OBJ_INFO(0, semaphore, SysvSemaphore, 0)
19
20#define arginfo_sem_remove arginfo_sem_release
21
26
27static const zend_function_entry ext_functions[] = {
28 ZEND_FE(sem_get, arginfo_sem_get)
29 ZEND_FE(sem_acquire, arginfo_sem_acquire)
30 ZEND_FE(sem_release, arginfo_sem_release)
33};
34
35static zend_class_entry *register_class_SysvSemaphore(void)
36{
37 zend_class_entry ce, *class_entry;
38
39 INIT_CLASS_ENTRY(ce, "SysvSemaphore", NULL);
41
42 return class_entry;
43}
#define NULL
Definition gdcache.h:45
unsigned char key[REFLECTION_KEY_LEN]
sem_release(SysvSemaphore $semaphore)
sem_get(int $key, int $max_acquire=1, int $permissions=0666, bool $auto_release=true)
sem_remove(SysvSemaphore $semaphore)
sem_acquire(SysvSemaphore $semaphore, bool $non_blocking=false)
#define arginfo_sem_remove
ZEND_API zend_class_entry * zend_register_internal_class_with_flags(zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t ce_flags)
Definition zend_API.c:3512
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(name, return_reference, required_num_args, class_name, type)
Definition zend_API.h:195
#define ZEND_FE_END
Definition zend_API.h:124
struct _zend_function_entry zend_function_entry
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
Definition zend_API.h:205
#define INIT_CLASS_ENTRY(class_container, class_name, functions)
Definition zend_API.h:279
#define ZEND_END_ARG_INFO()
Definition zend_API.h:219
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, class_name, allow_null)
Definition zend_API.h:154
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
Definition zend_API.h:140
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
Definition zend_API.h:138
#define ZEND_FE(name, arg_info)
Definition zend_API.h:86
#define ZEND_FUNCTION(name)
Definition zend_API.h:75
#define ZEND_ACC_NO_DYNAMIC_PROPERTIES
#define ZEND_ACC_FINAL
#define ZEND_ACC_NOT_SERIALIZABLE
struct _zend_class_entry zend_class_entry
#define MAY_BE_FALSE
#define IS_LONG
Definition zend_types.h:604
#define _IS_BOOL
Definition zend_types.h:629