xattr_set

(PECL xattr >= 0.9.0) Set an extended attribute bool xattr_set ( string $filename, string $name, string $value [, int $flags = 0 ] ) This function sets the value of an extended attribute of a file. Extended attributes have two different namespaces: user and root. The user namespace is available to all users, while the root namespace is available only to users with root privileges. xattr operates on the user namespace

xattr_list

(PECL xattr >= 0.9.0) Get a list of extended attributes array xattr_list ( string $filename [, int $flags = 0 ] ) This functions gets a list of names of extended attributes of a file. Extended attributes have two different namespaces: user and root. The user namespace is available to all users, while the root namespace is available only to users with root privileges. xattr operates on the user namespace by default, bu

setthreadtitle

(PECL proctitle >= 0.1.2) Set the thread title bool setthreadtitle ( string $title ) Sets the thread title. Parameters: title The title to use as the thread title. Returns: Returns TRUE on success or FALSE on failure. Examples: setthreadtitle() example Running the exam

setproctitle

(PECL proctitle >= 0.1.0) Set the process title void setproctitle ( string $title ) Sets the process title of the current process. Parameters: title The title to use as the process title. Returns: No value is returned. Examples: setproctitle() example Running the exam

xattr_get

(PECL xattr >= 0.9.0) Get an extended attribute string xattr_get ( string $filename, string $name [, int $flags = 0 ] ) This function gets the value of an extended attribute of a file. Extended attributes have two different namespaces: user and root. The user namespace is available to all users, while the root namespace is available only to users with root privileges. xattr operates on the user namespace by default, b

inotify_rm_watch

(PECL inotify >= 0.1.2) Remove an existing watch from an inotify instance bool inotify_rm_watch ( resource $inotify_instance, int $watch_descriptor ) inotify_rm_watch() removes the watch watch_descriptor from the inotify instance inotify_instance. Parameters: inotify_instance Resource returned by inotify_init() watch_descriptor Watch

inotify_read

(PECL inotify >= 0.1.2) Read events from an inotify instance array inotify_read ( resource $inotify_instance ) Read inotify events from an inotify instance. Parameters: inotify_instance Resource returned by inotify_init() Returns: An array of inotify events or FALSE if no events was pending and inotify_instance is non-blocking. Each event is a

inotify_queue_len

(PECL inotify >= 0.1.2) Return a number upper than zero if there are pending events int inotify_queue_len ( resource $inotify_instance ) This function allows to know if inotify_read() will block or not. If a number upper than zero is returned, there are pending events and inotify_read() will not block. Parameters: inotify_instance Resource returned by inotify_init()

inotify_add_watch

(PECL inotify >= 0.1.2) Add a watch to an initialized inotify instance int inotify_add_watch ( resource $inotify_instance, string $pathname, int $mask ) inotify_add_watch() adds a new watch or modify an existing watch for the file or directory specified in pathname. Using inotify_add_watch() on a watched object replaces the existing watch. Using the IN_MASK_ADD constant adds (OR) events to the existing watch.

unlink

(PHP 4, PHP 5, PHP 7) Deletes a file bool unlink ( string $filename [, resource $context ] ) Deletes filename. Similar to the Unix C unlink() function. An E_WARNING level error will be generated on failure. Parameters: filename Path to the file. context Note: Context support was added with PHP 5.0.0. For a description of contexts,