10.3. emacs
— Emacs text editor¶
Emacs is a text editor originally written by Richard Stallman and Guy L. Steele, Jr. in 1976. This module contains a minimal functional Emacs called Atto.
Help and key bindings: https://github.com/eerimoq/atto#atto-key-bindings
Atto Emacs project on GitHub: https://github.com/hughbarney/atto
Source code: src/text/emacs.h, src/text/emacs.c
Functions
-
int
emacs
(const char *path_p, void *chin_p, void *chout_p)¶ Start emacs.
- Return
- zero(0) or negative error code.
- Parameters
path_p
: File to open or NULL.chin_p
: Input channel or NULL for standard input.chout_p
: Output channel or NULL for standard output.