|
|
1 NAME
2 editor - handle an editor command
3
4 SYNOPSIS
5 string editor(varargs string command)
6
7
8 DESCRIPTION
9 Execute an editor command for the current object. If the editor
10 command is the first for this object, an editor instance will be
11 created for it. The editor instance will remain active until an
12 editor command is specified that terminates it, or until the object
13 is destructed. Editor output will be returned as a string. The
14 editor status of an object can be queried with the kfun query_editor().
15 File paths for reading and writing will be translated by path_read()
16 and path_write(), respectively, in the driver object.
17
18 ERRORS
19 If the number of active editor instances is equal to the value of the
20 ST_ETABSIZE field of the array returned by status(), where ST_ETABSIZE
21 is defined in the include file <status.h>, attempting to add another
22 one will result in an error.
23 It is not possible to start an editor instance for a user object.
24
25 SEE ALSO
26 kfun/read_file, kfun/write_file
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.