PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<touchunlink>
Last updated: Mon, 16 Jul 2012

umask

(PHP 3, PHP 4, PHP 5)

umask -- 改变当前的 umask

说明

int umask ( [int mask] )

umask() 设定 PHP 的 umask 为掩码 & 0777 并返回原来的 umask。当 PHP 被作为服务器模块使用时,在每个请求结束后 umask 会被恢复。

无参数调用 umask() 会返回当前的 umask。




<touchunlink>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST