gretl_win32

gretl_win32

Functions

Description

Functions

read_reg_val ()

int
read_reg_val (HKEY tree,
              const char *base,
              char *keyname,
              char *keyval);

get_gretlnet_filename ()

const char *
get_gretlnet_filename (void);

set_gretlnet_filename ()

int
set_gretlnet_filename (const char *prog);

win32_cli_read_rc ()

void
win32_cli_read_rc (char *callname);

win_show_last_error ()

void
win_show_last_error (void);

win_run_sync ()

int
win_run_sync (char *cmdline,
              const char *currdir);

Run a command synchronously (i.e. block until it is completed) under MS Windows. This is intended for use with "slave" console applications such a latex, dvips, tramo, x12a and so on.

Parameters

cmdline

command line to execute.

 

currdir

current directory for child process (or NULL to inherit from parent)

 

Returns

0 on success, non-zero on failure.


gretl_spawn ()

int
gretl_spawn (char *cmdline);

gretl_shell ()

int
gretl_shell (const char *arg,
             gretlopt opt,
             PRN *prn);

gretl_win32_grab_output ()

int
gretl_win32_grab_output (const char *cmdline,
                         const char *currdir,
                         char **sout);

slash_convert ()

char *
slash_convert (char *str,
               int which);

desktop_path ()

char *
desktop_path (void);

appdata_path ()

char *
appdata_path (void);

mydocs_path ()

char *
mydocs_path (void);

program_files_path ()

char *
program_files_path (void);

program_files_x86_path ()

char *
program_files_x86_path (void);

win32_write_access ()

int
win32_write_access (char *path);

win32_delete_dir ()

int
win32_delete_dir (const char *path);

win32_uses_virtual_store ()

int
win32_uses_virtual_store (void);

R_path_from_registry ()

int
R_path_from_registry (char *s,
                      int which);

win32_check_for_program ()

int
win32_check_for_program (const char *prog);

strptime ()

char *
strptime (const char *buf,
          const char *format,
          struct tm *timeptr);

win32_fscan_nonfinite ()

double
win32_fscan_nonfinite (FILE *fp,
                       int *err);

win32_sscan_nonfinite ()

double
win32_sscan_nonfinite (const char *s,
                       int *err);

win32_fprint_nonfinite ()

void
win32_fprint_nonfinite (double x,
                        FILE *fp);

win32_pprint_nonfinite ()

void
win32_pprint_nonfinite (double x,
                        PRN *prn);

win32_stopwatch_init ()

void
win32_stopwatch_init (void);

win32_stopwatch ()

double
win32_stopwatch (void);

cli_set_win32_charset ()

int
cli_set_win32_charset (const char *package);

Types and Values