File_Passwd_Common::_close

File_Passwd_Common::_close() – Closes a prior opened and locked file handle

Synopsis

mixed File_Passwd_Common::_close ( resource &$file_handle )

Description

Closes a prior with File_Passwd_Common::_open() opened and locked file handle.

(package developer related)

Parameter

resource &$file_handle

the file handle to operate on

Return value

Returns TRUE on success, PEAR_Error on failure.

Possible PEAR_Error values
Error Code Summary
FILE_PASSWD_E_FILE_NOT_UNLOCKED passwd file couldn't be unlocked
FILE_PASSWD_E_FILE_NOT_CLOSED passwd file couldn't be closed

Note

This function can not be called statically.

Open a file (Previous) Save the modified content to the passwd file (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.