fltk  1.3.5-source
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X.
  Fossies Dox: fltk-1.3.5-source.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

ExternalCodeEditor_UNIX.cxx File Reference
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <signal.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <FL/Fl.H>
#include <FL/fl_ask.H>
#include "ExternalCodeEditor_UNIX.h"
Include dependency graph for ExternalCodeEditor_UNIX.cxx:

Go to the source code of this file.

Functions

static int is_file (const char *filename)
 
static int is_dir (const char *dirname)
 
static int save_file (const char *filename, const char *code)
 
static int make_args (char *s, int *aargc, char ***aargv)
 

Variables

int G_debug
 
static int L_editors_open = 0
 
static Fl_Timeout_Handler L_update_timer_cb = 0
 

Function Documentation

◆ is_dir()

static int is_dir ( const char *  dirname)
static

◆ is_file()

static int is_file ( const char *  filename)
static

◆ make_args()

static int make_args ( char *  s,
int *  aargc,
char ***  aargv 
)
static

Definition at line 296 of file ExternalCodeEditor_UNIX.cxx.

References malloc(), and NULL.

Referenced by ExternalCodeEditor::start_editor().

◆ save_file()

static int save_file ( const char *  filename,
const char *  code 
)
static

Definition at line 270 of file ExternalCodeEditor_UNIX.cxx.

References fd, filename, and fl_alert().

Referenced by ExternalCodeEditor::open_editor().

Variable Documentation

◆ G_debug

◆ L_editors_open

◆ L_update_timer_cb