Mozilla Skin
BLOG | FORUMS | WIKI | DEVELOPERS | MY EYEOS | PROFESSIONAL SERVICES | PROJECT PAGE

Service vfs real open

From eyeOS Wiki

Contents

Syntax

vfs('real_open', array($file,$mode))

or

service('vfs', 'real_open', array($file,$mode))

Description

Opens a real file and returns a file handler to work with.

Arguments

file: file to open.

mode: mode to open the file. It is the same notation as used in the PHP native fopen() function.

Return values

If the file exists and there are enough permissions to open the file and it is opened successfully, returns a file handler to work with the file with the specified mode.