From 278c0493ea371977d2860c6faeef4fb381dee9bc Mon Sep 17 00:00:00 2001
From: Andrey Pampukha
Date: Fri, 19 Mar 2010 11:03:32 +0000
Subject: kernel: document the file:change_mode/2 function
---
lib/kernel/doc/src/file.xml | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
(limited to 'lib/kernel')
diff --git a/lib/kernel/doc/src/file.xml b/lib/kernel/doc/src/file.xml
index f9f5443f68..50f9722a1c 100644
--- a/lib/kernel/doc/src/file.xml
+++ b/lib/kernel/doc/src/file.xml
@@ -4,7 +4,7 @@
- 19962009
+ 19962010
Ericsson AB. All Rights Reserved.
@@ -13,12 +13,12 @@
compliance with the License. You should have received a copy of the
Erlang Public License along with this software. If not, it can be
retrieved online at http://www.erlang.org/.
-
+
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
the License for the specific language governing rights and limitations
under the License.
-
+
file
@@ -74,6 +74,19 @@ time() = {{Year, Month, Day}, {Hour, Minute, Second}}
write_file_info/2.
+
+ change_mode(Filename, Mode) -> ok | {error, Reason}
+ Change permissions of a file
+
+ Filename = name()
+ Mode = int()
+ Reason = ext_posix()
+
+
+ Changes permissions of a file. See
+ write_file_info/2.
+
+
change_owner(Filename, Uid) -> ok | {error, Reason}
Change owner of a file
--
cgit v1.2.3