ze
Loading...
Searching...
No Matches
Files | Functions
Collaboration diagram for File I/O:

Files

file  fileio.c
 File and directory loading/saving implementation.
 

Functions

char * editorRowsToString (int *buflen)
 
void editorCloneTemplate (void)
 
void editorOpen (char *filename)
 
void editorSave (void)
 

Detailed Description

Function Documentation

◆ editorCloneTemplate()

void editorCloneTemplate ( void  )

Prompt for and clone a template into the current buffer.

◆ editorOpen()

void editorOpen ( char *  filename)

Open a file or directory by path (prompts if NULL).

◆ editorRowsToString()

char * editorRowsToString ( int *  buflen)

Serialize the current buffer into a single string with newlines.

Parameters
buflen[out] length of returned string
Returns
Newly allocated string containing the buffer contents

◆ editorSave()

void editorSave ( void  )

Save the current buffer to E.filename, prompting if necessary.