1<?php 2 3/** @generate-function-entries */ 4 5function posix_kill(int $process_id, int $signal): bool {} 6 7function posix_getpid(): int {} 8 9function posix_getppid(): int {} 10 11function posix_getuid(): int {} 12 13function posix_setuid(int $user_id): bool {} 14 15function posix_geteuid(): int {} 16 17#ifdef HAVE_SETEUID 18function posix_seteuid(int $user_id): bool {} 19#endif 20 21function posix_getgid(): int {} 22 23function posix_setgid(int $group_id): bool {} 24 25function posix_getegid(): int {} 26 27#ifdef HAVE_SETEGID 28function posix_setegid(int $group_id): bool {} 29#endif 30 31#ifdef HAVE_GETGROUPS 32function posix_getgroups(): array|false {} 33#endif 34 35#ifdef HAVE_GETLOGIN 36function posix_getlogin(): string|false {} 37#endif 38 39function posix_getpgrp(): int {} 40 41#ifdef HAVE_SETSID 42function posix_setsid(): int {} 43#endif 44 45function posix_setpgid(int $process_id, int $process_group_id): bool {} 46 47#ifdef HAVE_GETPGID 48function posix_getpgid(int $process_id): int|false {} 49#endif 50 51#ifdef HAVE_GETSID 52function posix_getsid(int $process_id): int|false {} 53#endif 54 55function posix_uname(): array|false {} 56 57function posix_times(): array|false {} 58 59 60#ifdef HAVE_CTERMID 61function posix_ctermid(): string|false {} 62#endif 63 64/** @param resource|int $file_descriptor */ 65function posix_ttyname($file_descriptor): string|false {} 66 67/** @param resource|int $file_descriptor */ 68function posix_isatty($file_descriptor): bool {} 69 70function posix_getcwd(): string|false {} 71 72#ifdef HAVE_MKFIFO 73function posix_mkfifo(string $filename, int $permissions): bool {} 74#endif 75 76#ifdef HAVE_MKNOD 77function posix_mknod(string $filename, int $flags, int $major = 0, int $minor = 0): bool {} 78#endif 79 80function posix_access(string $filename, int $flags = 0): bool {} 81 82function posix_getgrnam(string $name): array|false {} 83 84function posix_getgrgid(int $group_id): array|false {} 85 86function posix_getpwnam(string $username): array|false {} 87 88function posix_getpwuid(int $user_id): array|false {} 89 90#ifdef HAVE_GETRLIMIT 91function posix_getrlimit(): array|false {} 92#endif 93 94#ifdef HAVE_SETRLIMIT 95function posix_setrlimit(int $resource, int $soft_limit, int $hard_limit): bool {} 96#endif 97 98function posix_get_last_error(): int {} 99 100/** @alias posix_get_last_error */ 101function posix_errno(): int {} 102 103function posix_strerror(int $error_code): string {} 104 105#ifdef HAVE_INITGROUPS 106function posix_initgroups(string $username, int $group_id): bool {} 107#endif 108