當前位置: 首頁> 函數類別大全> chgrp

chgrp

改變文件所屬的組
名稱:chgrp
分類:文件系統
所屬語言:php
一句話介紹:改變文件組。

實例

<span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token function">chgrp</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"test.txt"</span> <span class="token punctuation">,</span> <span class="token string double-quoted-string">"admin"</span> <span class="token punctuation">)</span>
<span class="token delimiter important">?></span></span>
同類函數
  • 取得文件的inode 修改時間 filectime

    filectime

    取得文件的inode修改時間
  • 打開文件或URL fopen

    fopen

    打開文件或URL
  • 建立一個臨時文件 tmpfile

    tmpfile

    建立一個臨時文件
  • 獲取文件大小 filesize

    filesize

    獲取文件大小
  • stream_set_write_buffer 的別名 set_file_buffer

    set_file_buffer

    stream_set_write_buf
  • 在文件指針中定位 fseek

    fseek

    在文件指針中定位
  • 更改當前的umask umask

    umask

    更改當前的umask
  • 將數據(但不是元數據)同步到文件 fdatasync

    fdatasync

    將數據(但不是元數據)同步到文件
熱門文章