inotify_init

(PECL inotify >= 0.1.2) Initialize an inotify instance resource inotify_init ( void ) Initialize an inotify instance for use with inotify_add_watch() Returns: A stream resource or FALSE on error. Examples: Example usage of inotify <?php // Open an inotify instance $fd = inotify_init(); // Watch __FILE__ for metadat

tempnam

(PHP 4, PHP 5, PHP 7) Create file with unique file name string tempnam ( string $dir, string $prefix ) Creates a file with a unique filename, with access permission set to 0600, in the specified directory. If the directory does not exist or is not writable, tempnam() may generate a file in the system's temporary directory, and return the full path to that file, including its name. Parameters:

tmpfile

(PHP 4, PHP 5, PHP 7) Creates a temporary file resource tmpfile ( void ) Creates a temporary file with a unique name in read-write (w+) mode and returns a file handle . The file is automatically removed when closed (for example, by calling fclose(), or when there are no remaining references to the file handle returned by tmpfile()), or when the script ends. For details, consult your system documentation on the tmpfile(3)

umask

(PHP 4, PHP 5, PHP 7) Changes the current umask int umask ([ int $mask ] ) umask() sets PHP's umask to mask & 0777 and returns the old umask. When PHP is being used as a server module, the umask is restored when each request is finished. Parameters: mask The new umask. Returns: umask() without arguments simply returns the current umask otherw

touch

(PHP 4, PHP 5, PHP 7) Sets access and modification time of file bool touch ( string $filename [, int $time = time() [, int $atime ]] ) Attempts to set the access and modification times of the file named in the filename parameter to the value given in time. Note that the access time is always modified, regardless of the number of parameters. If the file does not exist, it will be created. Parameters:

realpath

(PHP 4, PHP 5, PHP 7) Returns canonicalized absolute pathname string realpath ( string $path ) realpath() expands all symbolic links and resolves references to '/./', '/../' and extra '/' characters in the input path and returns the canonicalized absolute pathname. Parameters: path The path being checked. Note: Whilst a path must be supplied, the value can be blank or

set_file_buffer

(PHP 4, PHP 5, PHP 7) Alias of stream_set_write_buffer() This function is an alias of: stream_set_write_buffer().

rename

(PHP 4, PHP 5, PHP 7) Renames a file or directory bool rename ( string $oldname, string $newname [, resource $context ] ) Attempts to rename oldname to newname, moving it between directories if necessary. If newname exists, it will be overwritten. Parameters: oldname Note: The old name. The wrapper used in oldname must match the wrapper used in newname.

rewind

(PHP 4, PHP 5, PHP 7) Rewind the position of a file pointer bool rewind ( resource $handle ) Sets the file position indicator for handle to the beginning of the file stream. Note: If you have opened the file in append ("a" or "a+") mode, any data you write to the file will always be appended, regardless of the file position. Parameters: handle The file pointer must b

symlink

(PHP 4, PHP 5, PHP 7) Creates a symbolic link bool symlink ( string $target, string $link ) symlink() creates a symbolic link to the existing target with the specified name link. Parameters: target Target of the link. link The link name. Returns: Returns TRUE on success or FALSE on failure.