From 20f3bb64da47ab070c057072c6d711d6c9a026d2 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Mon, 21 Sep 2015 12:18:03 +0000 Subject: [PATCH] Reorganise the POSIX constants into sections. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337882 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/posix/constants.xml | 229 ++++++++++++++++++---------------- 1 file changed, 122 insertions(+), 107 deletions(-) diff --git a/reference/posix/constants.xml b/reference/posix/constants.xml index df8ec1cde9..e62d222d68 100644 --- a/reference/posix/constants.xml +++ b/reference/posix/constants.xml @@ -3,113 +3,128 @@ &reftitle.constants; &extension.constants; - - - - POSIX_F_OK - (integer) - - - - Check whether the file exists. - - - - - - POSIX_R_OK - (integer) - - - - Check whether the file exists and has read permissions. - - - - - - POSIX_W_OK - (integer) - - - - Check whether the file exists and has write permissions. - - - - - - POSIX_X_OK - (integer) - - - - Check whether the file exists and has execute permissions. - - - - - - POSIX_S_IFBLK - (integer) - - - - Block special file - - - - - - POSIX_S_IFCHR - (integer) - - - - Character special file - - - - - - POSIX_S_IFIFO - (integer) - - - - FIFO (named pipe) special file - - - - - - POSIX_S_IFREG - (integer) - - - - Normal file - - - - - - POSIX_S_IFSOCK - (integer) - - - - Socket - - - - - - - These constants are available since PHP 5.1.0. Please also note that some - of them may not be available in your system. - - +
+ <function>posix_access</function> constants + + + These constants are available starting with PHP 5.1.0. Please note that + some of them may not be available on your system. + + + + + + POSIX_F_OK + (integer) + + + + Check whether the file exists. + + + + + + POSIX_R_OK + (integer) + + + + Check whether the file exists and has read permissions. + + + + + + POSIX_W_OK + (integer) + + + + Check whether the file exists and has write permissions. + + + + + + POSIX_X_OK + (integer) + + + + Check whether the file exists and has execute permissions. + + + + +
+ +
+ <function>posix_mknod</function> constants + + + These constants are available starting with PHP 5.1.0. Please note that + some of them may not be available on your system. + + + + + + POSIX_S_IFBLK + (integer) + + + + Block special file + + + + + + POSIX_S_IFCHR + (integer) + + + + Character special file + + + + + + POSIX_S_IFIFO + (integer) + + + + FIFO (named pipe) special file + + + + + + POSIX_S_IFREG + (integer) + + + + Normal file + + + + + + POSIX_S_IFSOCK + (integer) + + + + Socket + + + + +