aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/io/manager/method/open.txt
blob: ea89a153ae9137b8a4c8d6c0b66dc2b3f0e5ecf0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
~~Title: Efl.Io.Manager.open~~
===== Description =====

%%Opens a file.%%

%%The fulfilled value in the promise will be the Eina.File*.%%
{{page>:develop:api-include:efl:io:manager:method:open:description&nouser&nolink&nodate}}

===== Signature =====

<code>
open {
    params {
        @in path: free(string, free);
        @in shared: bool;
    }
    return: ptr(Eina.Future);
}
</code>

===== C signature =====

<code c>
Eina_Future *efl_io_manager_open(Eo *obj, const char *path, Eina_Bool shared);
</code>

===== Parameters =====

  * **path** //(in)// - %%Path to file%%
  * **shared** //(in)// - %%%%''true''%% if the file can be accessed by others, %%''false''%% otherwise%%

===== Implemented by =====

  * **Efl.Io.Manager.open**