28#include <mint/osbind.h>
31#include "atari/gemtk/gemtk.h"
39 f = fopen(
path,
"r+b");
43 fseek(f, 0L, SEEK_END);
56 gemtk_send_msg(SC_CHANGED, 0, 2, 0, 0, 0, 0);
67 if (get_scrapdir (
path))
70 strcat (
path,
"scrap.txt");
74 if ((file = (
int) Fopen (
path, 0)) >= 0)
78 len = Fread (file, len, buf);
int scrap_txt_write(char *str)
static int filesize(char *path)
char * scrap_txt_read(void)
Interface to utility string handling.
static nserror path(const struct redraw_context *ctx, const plot_style_t *pstyle, const float *p, unsigned int n, const float transform[6])
Plots a path.